diff --git a/.gitlab/ci/rules.yml b/.gitlab/ci/rules.yml index d1e3274ada..74be3c3654 100644 --- a/.gitlab/ci/rules.yml +++ b/.gitlab/ci/rules.yml @@ -27,6 +27,7 @@ - "tools/ci/python_packages/ttfw_idf/**/*" - "tools/ci/find_apps_build_apps.sh" + - "tools/ci/build_pytest_apps.py" - "tools/build_apps.py" - "tools/find_apps.py" - "tools/find_build_apps/**/*" @@ -135,6 +136,13 @@ - "tools/ci/test_reproducible_build.sh" - "tools/gen_soc_caps_kconfig/*" + - "tools/gen_soc_caps_kconfig/test/test_gen_soc_caps_kconfig.py" + + - "tools/mkuf2.py" + - "tools/test_mkuf2/test_mkuf2.py" + + - "tools/split_paths_by_spaces.py" + .patterns-windows: &patterns-windows - "tools/windows/**/*" diff --git a/tools/ci/check_tools_files_patterns.py b/tools/ci/check_tools_files_patterns.py index 26337a55ec..fd62db2971 100755 --- a/tools/ci/check_tools_files_patterns.py +++ b/tools/ci/check_tools_files_patterns.py @@ -16,8 +16,9 @@ def check(pattern_yml, exclude_list): rules_dict = yaml.load(open(pattern_yml), Loader=yaml.FullLoader) rules_patterns_set = set() for k, v in rules_dict.items(): - if k.startswith('.pattern') and isinstance(v, list): + if k.startswith('.pattern') and k != '.patterns-python-files' and isinstance(v, list): rules_patterns_set.update(v) + rules_files_set = set() idf_path = Path(IDF_PATH) for pat in rules_patterns_set: diff --git a/tools/ci/exclude_check_tools_files.txt b/tools/ci/exclude_check_tools_files.txt index 8eae6d5555..8db6df9411 100644 --- a/tools/ci/exclude_check_tools_files.txt +++ b/tools/ci/exclude_check_tools_files.txt @@ -1,13 +1,15 @@ tools/ble/**/* tools/catch/**/* tools/ci/build_template_app.sh - -# excluded because run in default pipeline pre-check stage tools/ci/check_*.py tools/ci/check_*.txt tools/ci/check_*.sh tools/ci/check_copyright_config.yaml - +tools/gdb_panic_server.py +tools/check_term.py +tools/check_python_dependencies.py +tools/python_version_checker.py +tools/generate_debug_prefix_map.py tools/ci/checkout_project_ref.py tools/ci/ci_fetch_submodule.py tools/ci/ci_get_mr_info.py