Skip to content

Commit

Permalink
ci: add stub benchmark job
Browse files Browse the repository at this point in the history
  • Loading branch information
meskill committed Sep 10, 2024
1 parent 9118015 commit f625560
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/benchmark-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ concurrency:
cancel-in-progress: true

jobs:
benchmarks_stub:
name: Run benchmarks for pr
if: "${{ !contains(github.event.pull_request.labels.*.name, 'ci: benchmark') }}"
runs-on: ubuntu-latest
steps:
- run: echo "Fake job if label is not set"

benchmarks:
name: Run benchmarks for pr
if: "${{ contains(github.event.pull_request.labels.*.name, 'ci: benchmark') }}"
Expand Down

0 comments on commit f625560

Please sign in to comment.