Skip to content

Commit

Permalink
try benchers github commenting feature (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker authored Aug 4, 2023
1 parent 9bf74d6 commit a438a76
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: bencherdev/bencher@v0.3.5
- uses: baptiste0928/cargo-install@v2
with:
crate: bencher_cli
git: https://github.com/bencherdev/bencher
ref: f6832c1c
- run: sudo apt-get install -y valgrind
- run: bencher run --if-branch "$GITHUB_REF_NAME" --else-if-branch "$GITHUB_BASE_REF" --else-if-branch main --err "cargo bench"
- run: bencher run --if-branch "$GITHUB_REF_NAME" --else-if-branch "$GITHUB_BASE_REF" --else-if-branch main --err --github-actions ${{ secrets.GITHUB_TOKEN }} --ci-only-thresholds --ci-only-on-alert "cargo bench"

0 comments on commit a438a76

Please sign in to comment.