Skip to content

Commit

Permalink
Merge pull request #105 from alankritdabral/test-bencher
Browse files Browse the repository at this point in the history
Update benchmark.yml
  • Loading branch information
alankritdabral authored Apr 9, 2024
2 parents f2d5378 + 26609aa commit e3b939a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
macro_benchmark:
name: Macro Benchmarks
if: "contains(github.event.pull_request_target.labels.*.name, 'ci: benchmark') || github.event_name == 'push'"
if: "contains(github.event.label.name == 'ci: benchmark') || github.event_name == 'push'"
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

Criterion_Compare:
name: Comparing Micro Benchmarks
if: "contains(github.event.pull_request_target.labels.*.name, 'ci: benchmark')"
if: "contains(github.event.label.name == 'ci: benchmark')"
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Track PR Benchmarks
run: |
bencher run \
bencher run \
--branch "$BRANCH_NAME" \
--token "${{ secrets.BENCHER_API_TOKEN }}" \
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
Expand Down

0 comments on commit e3b939a

Please sign in to comment.