Skip to content

Commit

Permalink
CI: add a criterion-based result for new PR
Browse files Browse the repository at this point in the history
  • Loading branch information
commial committed Apr 26, 2023
1 parent f65ca2a commit 9bd7dc2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Benchmark PR

on:
pull_request:
branches: [ master ]

jobs:
runBenchmark:
name: Criterion benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: boa-dev/criterion-compare-action@v3
with:
# Needed. The name of the branch to compare with. This default uses the branch which is being pulled against
branchName: ${{ github.base_ref }}
# Optional. Default is `${{ github.token }}`.
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9bd7dc2

Please sign in to comment.