Fix CI registry scan to only check test/registered directory (#14812)

This commit is contained in:
Alison Shao
2025-12-10 08:09:03 -08:00
committed by GitHub
parent 503880dbbe
commit f732f8ea57

View File

@@ -105,10 +105,8 @@ def run_a_suite(args):
auto_partition_id = args.auto_partition_id
auto_partition_size = args.auto_partition_size
files = glob.glob("**/*.py", recursive=True)
ci_tests = filter_tests(
collect_tests(files, sanity_check=False), hw, suite, nightly
)
files = glob.glob("registered/**/*.py", recursive=True)
ci_tests = filter_tests(collect_tests(files, sanity_check=True), hw, suite, nightly)
test_files = [TestFile(t.filename, t.est_time) for t in ci_tests]
if not test_files: