Skip to content

Commit e763224

Browse files
committed
fixup! tools: add benchmark runner to test-shared
add step summary
1 parent bb77de0 commit e763224

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/test-shared.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,12 @@ jobs:
216216
-- ${{ inputs.category }} \
217217
| tee /dev/stderr \
218218
> ${{ matrix.system }}.csv
219+
echo 'Benchmark results:'
220+
echo
221+
echo '```'
219222
Rscript benchmark/compare.R < ${{ matrix.system }}.csv
220-
'
223+
echo '```'
224+
' | tee /dev/stderr >> "$GITHUB_STEP_SUMMARY"
221225
env:
222226
FILTER: ${{ inputs.filter }}
223227

@@ -264,5 +268,9 @@ jobs:
264268
--arg sharedLibDeps '{}' \
265269
--arg devTools '[]' \
266270
--run '
271+
echo 'Benchmark results:'
272+
echo
273+
echo '```'
267274
awk "FNR==1 && NR!=1{next;}{print}" raw-results/*.csv | Rscript benchmark/compare.R
268-
'
275+
echo '```'
276+
' | tee /dev/stderr >> "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)