fix: adding temporary bypass for nightly tests (#14876)
This commit is contained in:
+12
-1
@@ -105,8 +105,19 @@ def run_a_suite(args):
|
|||||||
auto_partition_id = args.auto_partition_id
|
auto_partition_id = args.auto_partition_id
|
||||||
auto_partition_size = args.auto_partition_size
|
auto_partition_size = args.auto_partition_size
|
||||||
|
|
||||||
|
# Temporary: search broadly for nightly tests during migration to registered/
|
||||||
|
if nightly:
|
||||||
|
files = glob.glob("**/*.py", recursive=True)
|
||||||
|
sanity_check = False # Allow files without registration during migration
|
||||||
|
else:
|
||||||
files = glob.glob("registered/**/*.py", recursive=True)
|
files = glob.glob("registered/**/*.py", recursive=True)
|
||||||
ci_tests = filter_tests(collect_tests(files, sanity_check=True), hw, suite, nightly)
|
sanity_check = (
|
||||||
|
True # Strict: all registered files must have proper registration
|
||||||
|
)
|
||||||
|
|
||||||
|
ci_tests = filter_tests(
|
||||||
|
collect_tests(files, sanity_check=sanity_check), hw, suite, nightly
|
||||||
|
)
|
||||||
test_files = [TestFile(t.filename, t.est_time) for t in ci_tests]
|
test_files = [TestFile(t.filename, t.est_time) for t in ci_tests]
|
||||||
|
|
||||||
if not test_files:
|
if not test_files:
|
||||||
|
|||||||
Reference in New Issue
Block a user