Skip to content

Commit

Permalink
👷 instead of reporting the job summary, upload it as an artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
drieshooghe committed Oct 3, 2024
1 parent 801647e commit d608814
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
- name: Execute load tests
run: pnpm run benchmark ${{ matrix.database }}

- name: Report results
working-directory: ./benchmarks
run: cat ./report/${{ matrix.database }}.json.html >> $GITHUB_STEP_SUMMARY
- name: Upload report (JSON)
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.database }}-report-json
path: ./report/${{ matrix.database }}.json

- name: Upload report (HTML)
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.database }}-report-html
path: ./report/${{ matrix.database }}.json.html

0 comments on commit d608814

Please sign in to comment.