Skip to content

Commit 2b14e1e

Browse files
committed
Fixup
1 parent 159f766 commit 2b14e1e

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/bench.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ jobs:
3232
echo "$BENCH_COMMAND"
3333
3434
BENCHES=$(echo $BENCH_COMMAND | awk -F'!benchmark ' '{ print $2 }')
35-
echo "BENCHES\n$BENCHES"
35+
echo "BENCHES:"
36+
echo "$BENCHES"
3637
JSON=$(echo $BENCHES | jq -R -c 'split(" ")')
3738
3839
#echo "benches<<EOF" >> $GITHUB_OUTPUT
3940
#echo "$JSON" | tee -a $GITHUB_OUTPUT
4041
#echo "EOF" >> $GITHUB_OUTPUT
41-
echo "JSON\n$JSON"
42+
echo "JSON:"
43+
echo "$JSON"
4244
4345
echo "benches=$JSON" | tee -a $GITHUB_OUTPUT
4446
@@ -82,6 +84,8 @@ jobs:
8284
- name: Run bench on base branch
8385
run: |
8486
lake exe ${{ matrix.bench }}
87+
ls
88+
ls .lake/benches/*
8589
working-directory: ${{ github.workspace }}/base
8690
- name: Checkout PR branch
8791
uses: actions/checkout@v5
@@ -97,14 +101,17 @@ jobs:
97101
with:
98102
lake-package-directory: ${{ github.workspace }}/pr
99103
test: false
100-
- name: Copy base benchmarks into PR for comparison
104+
- name: Copy base benchmarks into PR dir for comparison
101105
run: |
102106
mkdir -p ${{ github.workspace }}/pr/.lake/benches
103107
cp -r ${{ github.workspace }}/base/.lake/benches/* ${{ github.workspace }}/pr/.lake/benches
108+
ls ${{ github.workspace }}/pr/.lake/benches/*
104109
working-directory: ${{ github.workspace }}/pr
105110
- name: Run bench on PR branch and generate comparison report
106111
run: |
107112
BENCH_REPORT=1 lake exe ${{ matrix.bench }}
113+
ls
114+
ls .lake/benches/*
108115
- name: Build benchmark comment body
109116
if: success()
110117
run: |

.github/workflows/lean_action_ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Lean Action CI
22

33
on:
44
push:
5+
branches: main
56
pull_request:
67
workflow_dispatch:
78

0 commit comments

Comments
 (0)