Skip to content

Commit 5173a0d

Browse files
committed
Conditional dependency on aggregate if benchmarking
1 parent 66a51f3 commit 5173a0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ permissions:
195195
jobs:
196196
run:
197197
if: github.event_name == 'workflow_dispatch' || inputs.skip_run == 'false'
198+
needs: ${{ inputs.test_selector == 'benchmark' && ['benchmark_aggregate'] || [] }}
198199
name: ${{ inputs.name }}
199200
runs-on: ${{ fromJSON(inputs.runner) }}
200201
container:
@@ -516,6 +517,6 @@ jobs:
516517
git push
517518
518519
benchmark_aggregate:
519-
if: ${{ inputs.test_selector == 'benchmark' && (github.event_name == 'workflow_dispatch' || inputs.skip_run == 'false') }}
520+
if: inputs.test_selector == 'benchmark'
520521
name: Aggregate compute-benchmark historical average (TODO reconsider)
521522
uses: ./.github/workflows/sycl-benchmark-aggregate.yml

0 commit comments

Comments
 (0)