Skip to content

Commit

Permalink
Merge pull request #6 from clippingkk/feat/ci-benchmark
Browse files Browse the repository at this point in the history
fix(ci): add benchmark report for pull request
  • Loading branch information
AnnatarHe committed Mar 4, 2024
2 parents ec1a239 + 2408e9b commit ece7c3a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on: [pull_request]
name: benchmark pull requests
jobs:
benchmark:
name: run benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: boa-dev/criterion-compare-action@v3
with:
benchName: "parse"
# 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 ece7c3a

Please sign in to comment.