Skip to content

Commit af6cd64

Browse files
committed
ci: reject missing scheduler outputs in the final gate
1 parent 2676e38 commit af6cd64

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -635,26 +635,27 @@ jobs:
635635
check_result "doc" "success"
636636
637637
# Optional platform builds and wheel tests share the platform plan.
638+
# Only a literal false waives a job; a missing gate must fail.
638639
linux_expected="skipped"
639-
if [[ "$doc_only" != "true" && "$linux_selected" == "true" ]]; then
640+
if [[ "$doc_only" != "true" && "$linux_selected" != "false" ]]; then
640641
linux_expected="success"
641642
fi
642643
windows_expected="skipped"
643-
if [[ "$doc_only" != "true" && "$windows_selected" == "true" ]]; then
644+
if [[ "$doc_only" != "true" && "$windows_selected" != "false" ]]; then
644645
windows_expected="success"
645646
fi
646647
check_result "build-linux-aarch64" "$linux_expected"
647648
check_result "build-windows" "$windows_expected"
648649
649650
windows_arm64_expected="skipped"
650-
if [[ "$windows_arm64_selected" == "true" ]]; then
651+
if [[ "$windows_arm64_selected" != "false" ]]; then
651652
windows_arm64_expected="$windows_expected"
652653
fi
653654
check_result "build-windows-arm64" "$windows_arm64_expected"
654655
655656
# Sdist tests follow build selection; wheel tests follow the platform plan.
656657
expected="skipped"
657-
if [[ "$doc_only" != "true" && "$build_selected" == "true" ]]; then
658+
if [[ "$doc_only" != "true" && "$build_selected" != "false" ]]; then
658659
expected="success"
659660
fi
660661
check_result "test-sdist-linux" "$expected"
@@ -667,7 +668,7 @@ jobs:
667668
# API compatibility checks run for cuda_core source changes and for
668669
# conservative full runs when reusable base artifacts are unavailable.
669670
expected="skipped"
670-
if [[ "$run_core_api_check" == "true" ]]; then expected="success"; fi
671+
if [[ "$run_core_api_check" != "false" ]]; then expected="success"; fi
671672
check_result "api-check-core-vs-release" "$expected"
672673
673674
# API compatibility checks against the merge base (api-check-core-vs-base)

0 commit comments

Comments
 (0)