From cedae1aa42c0f1ff59b4e4f988659c52d467d585 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 20 Mar 2026 11:22:01 -0500 Subject: [PATCH] Trigger system tests when the system check file changes (#18590) Co-authored-by: Claude --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e92a8d25a..250506aa9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,6 +89,7 @@ jobs: [[ "$file" == ".github/workflows/bench.yml" ]] && bench_workflow_changed=1 [[ "$file" == ".github/workflows/test-integration.yml" || "$file" =~ ^test/integration/ || "$file" == "scripts/check_registry.py" || "$file" == "scripts/check_cache_compat.py" || "$file" == "scripts/registries-test.py" ]] && integration_changed=1 [[ "$file" == ".github/workflows/test-system.yml" ]] && system_workflow_changed=1 + [[ "$file" == "scripts/check_system_python.py" || "$file" == "scripts/check_embedded_python.py" ]] && system_test_changed=1 [[ "$file" =~ ^docs/ || "$file" =~ ^mkdocs.*\.yml$ || "$file" =~ \.md$ || "$file" =~ ^bin/ || "$file" =~ ^assets/ ]] && continue any_code_changed=1 done <<< "$(git diff --name-only "${BASE_SHA:-origin/main}...HEAD")" @@ -112,7 +113,7 @@ jobs: [[ ! $has_skip_label ]] && test_smoke=1 [[ ! $has_skip_label ]] && test_ecosystem=1 [[ $has_integration_label || $has_extended_label || $on_main_branch || $integration_changed ]] && test_integration=1 - [[ $has_system_label || $has_extended_label || $on_main_branch || $system_workflow_changed ]] && test_system=1 + [[ $has_system_label || $has_extended_label || $on_main_branch || $system_workflow_changed || $system_test_changed ]] && test_system=1 [[ $has_macos_label || $has_extended_label || $on_main_branch || $build_release_binaries ]] && test_macos=1 [[ ! $has_build_skip_label && ! $has_build_skip_docker_label && ($docker_build_changed || $has_build_push_docker_label) ]] && build_docker=1 [[ $has_build_push_docker_label ]] && push_docker=1