Skip to content

Commit 95fbd6b

Browse files
committed
ci: make sure test child pipeline only triggered when all build jobs succeeded
1 parent d280d36 commit 95fbd6b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/ci/dynamic_pipelines/templates/test_child_pipeline.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ generate_pytest_child_pipeline:
4747
- build
4848
- shiny
4949
needs:
50-
- build_test_related_apps # won't work if the parallel count exceeds 100, now it's around 50
50+
- job: build_test_related_apps
51+
optional: true
52+
- job: build_non_test_related_apps # make sure all build jobs are passed
53+
optional: true
54+
artifacts: false
5155
- pipeline: $PARENT_PIPELINE_ID
5256
job: pipeline_variables
5357
artifacts:

0 commit comments

Comments
 (0)