Skip to content

Commit 89018b1

Browse files
committed
always run reequested solutions
1 parent 6ab0691 commit 89018b1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/RunBenchmark.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ jobs:
7575
working-directory: /var/lib/mount/db-benchmark-metal
7676
run: |
7777
git diff --name-only **/VERSION > updated_solutions.txt
78-
sed -i 's/\/VERSION/ /g' updated_solutions.txt
79-
tr --delete '\n' < updated_solutions.txt > updated_solutions_no_newlines.txt
80-
export new_solutions=`cat updated_solutions_no_newlines.txt`
81-
echo "New benchmarks are " $new_solutions
78+
cat updated_solutions.txt
79+
export new_solutions="${{ env.solutions }}"
80+
echo "testing solutions: " $new_solutions
8281
sed -i "s/export RUN_SOLUTIONS=.*/export RUN_SOLUTIONS=\"${new_solutions}\"/g" run.conf
8382
8483
- name: Run the benchmark
@@ -124,7 +123,7 @@ jobs:
124123
run: |
125124
mkdir -p out
126125
echo "guarantee not empty dir" > out/guarantee.txt
127-
zip -r out-dir.zip out/
126+
zip -r out-dir.zip out/ public/
128127
129128
- uses: actions/upload-artifact@v4
130129
if: always()

0 commit comments

Comments
 (0)