Skip to content

Commit

Permalink
run benches on previous and current commit in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarshkukreti committed Mar 21, 2021
1 parent 65d6eb0 commit 5189eff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ jobs:
rust: [stable, nightly, 1.45.2]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- run: git checkout HEAD~1
- run: cargo bench
- run: git checkout -
- run: cargo bench

0 comments on commit 5189eff

Please sign in to comment.