Skip to content

Commit

Permalink
store benchmark results as artifacts (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath authored May 17, 2024
1 parent 26e5fb7 commit a599b25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }}

# - name: Set up Git
# run: |
# git config --global user.email "github-actions[bot]@users.noreply.github.com"
# git config --global user.name "github-actions[bot]"

- name: Build devcontainer and run benchmarks
uses: devcontainers/[email protected]
with:
Expand All @@ -42,12 +37,18 @@ jobs:
- name: Print benchmark results
run: cat ./results.md

- name: "Upload Artifact"
uses: actions/upload-artifact@v4
with:
path: *.txt
retention-days: 120

- name: Comment benchmark results on PR
if: github.event_name == 'pull_request_target'
uses: peter-evans/commit-comment@v3
with:
sha : ${{ github.event.pull_request.head.sha }}
body-path: 'results.md'
sha: ${{ github.event.pull_request.head.sha }}
body-path: "results.md"
reactions: eyes

- name: Commit and push changes (on main branch)
Expand Down
1 change: 0 additions & 1 deletion wrk/caliban_bench.sh

This file was deleted.

0 comments on commit a599b25

Please sign in to comment.