ci: decouple stage and runner for cuda registry (#25197)
This commit is contained in:
+3
-3
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user