ci: decouple stage and runner for cuda registry (#25197)

This commit is contained in:
Liangsheng Yin
2026-05-13 17:28:21 -07:00
committed by GitHub
parent dd98153d17
commit 22d3f3996c
261 changed files with 388 additions and 293 deletions
+3 -3
View File
@@ -151,9 +151,9 @@ def validate_all_suites(all_tests: List[CIRegistry]):
if t.backend not in _SUITE_CHECKED_BACKENDS:
continue
valid = valid_by_backend.get(t.backend, set())
if t.suite not in valid:
if t.effective_suite not in valid:
errors.append(
f" {t.filename}: backend={t.backend.name}, suite='{t.suite}'"
f" {t.filename}: backend={t.backend.name}, suite='{t.effective_suite}'"
)
if errors:
raise ValueError("Tests registered to invalid suites:\n" + "\n".join(errors))
@@ -165,7 +165,7 @@ def filter_tests(
ci_tests = [
t
for t in ci_tests
if t.backend == hw and t.suite == suite and t.nightly == nightly
if t.backend == hw and t.effective_suite == suite and t.nightly == nightly
]
valid_suites = (