Skip to content

Commit 5a0969e

Browse files
Illviljansnowman2
authored andcommitted
Only run asv benchmark when labeled (pydata#5893)
* Only run benchmark when labeled * Update benchmarks.yml * Update benchmarks.yml
1 parent 2791798 commit 5a0969e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ on:
77

88
jobs:
99
benchmark:
10-
if: |
11-
${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark')
12-
&& github.event_name == 'pull_request'
13-
|| github.event_name == 'workflow_dispatch' }}
10+
if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
1411
name: Linux
1512
runs-on: ubuntu-20.04
1613
env:

0 commit comments

Comments
 (0)