mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(ci): exclude patterns python files while checking tools pattern
This commit is contained in:
parent
6980ad5e12
commit
70df376692
@ -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/**/*"
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user