Explorar o código

ci: bypass test script check for bringup targets

Fu Hanxi %!s(int64=3) %!d(string=hai) anos
pai
achega
0b47e173e6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tools/ci/check_build_test_rules.py

+ 3 - 0
tools/ci/check_build_test_rules.py

@@ -273,6 +273,9 @@ def check_test_scripts(
 
         if actual_verified_targets == _app.verified_targets:
             return True
+        elif actual_verified_targets == sorted(_app.verified_targets + bypass_check_test_targets or []):
+            print(f'WARNING: bypass test script check on {_app.app_dir} for targets {bypass_check_test_targets} ')
+            return True
 
         if_clause = f'IDF_TARGET in [{", ".join([doublequote(target) for target in sorted(set(_app.verified_targets) - set(actual_verified_targets))])}]'