From 95fbd6b81aa4ce4e8da7bd3a966b1495a5d290cc Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Wed, 16 Jul 2025 09:01:53 +0200 Subject: [PATCH] ci: make sure test child pipeline only triggered when all build jobs succeeded --- .../ci/dynamic_pipelines/templates/test_child_pipeline.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/ci/dynamic_pipelines/templates/test_child_pipeline.yml b/tools/ci/dynamic_pipelines/templates/test_child_pipeline.yml index 0828a81fef..08154e01e9 100644 --- a/tools/ci/dynamic_pipelines/templates/test_child_pipeline.yml +++ b/tools/ci/dynamic_pipelines/templates/test_child_pipeline.yml @@ -47,7 +47,11 @@ generate_pytest_child_pipeline: - build - shiny needs: - - build_test_related_apps # won't work if the parallel count exceeds 100, now it's around 50 + - job: build_test_related_apps + optional: true + - job: build_non_test_related_apps # make sure all build jobs are passed + optional: true + artifacts: false - pipeline: $PARENT_PIPELINE_ID job: pipeline_variables artifacts: