mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'ci/fix-exclude-dir-check-build-test-rules_v5.5' into 'release/v5.5'
ci: fix check-build-test-rules exclude-dir (v5.5) See merge request espressif/esp-idf!47088
This commit is contained in:
@@ -141,7 +141,7 @@ repos:
|
|||||||
name: Check if all apps readme files match given .build-test-rules.yml files. Modify the supported target tables
|
name: Check if all apps readme files match given .build-test-rules.yml files. Modify the supported target tables
|
||||||
entry: tools/ci/check_build_test_rules.py check-readmes
|
entry: tools/ci/check_build_test_rules.py check-readmes
|
||||||
language: python
|
language: python
|
||||||
files: 'tools/test_apps/.+|examples/.+|components/.+|tools/idf_py_actions/constants.py|tools/ci/check_build_test_rules.py'
|
files: 'tools/.+|examples/.+|components/.+'
|
||||||
require_serial: true
|
require_serial: true
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- PyYAML == 5.3.1
|
- PyYAML == 5.3.1
|
||||||
|
|||||||
@@ -336,15 +336,13 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
if check_all:
|
if check_all:
|
||||||
check_dirs = {IDF_PATH}
|
check_dirs = {IDF_PATH}
|
||||||
_exclude_dirs = [
|
|
||||||
os.path.join(IDF_PATH, 'tools', 'unit-test-app'),
|
_exclude_dirs = [
|
||||||
os.path.join(IDF_PATH, 'tools', 'test_build_system', 'build_test_app'),
|
os.path.join(IDF_PATH, 'tools', 'unit-test-app'),
|
||||||
os.path.join(IDF_PATH, 'tools', 'test_build_system', 'buildv2_test_app'),
|
os.path.join(IDF_PATH, 'tools', 'test_build_system'),
|
||||||
os.path.join(IDF_PATH, 'tools', 'templates', 'sample_project'),
|
os.path.join(IDF_PATH, 'tools', 'templates', 'sample_project'),
|
||||||
os.path.join(IDF_PATH, 'tools', 'cmakev2', 'test'),
|
os.path.join(IDF_PATH, 'tools', 'cmakev2', 'test'),
|
||||||
]
|
]
|
||||||
else:
|
|
||||||
_exclude_dirs = [os.path.join(IDF_PATH, 'tools', 'templates', 'sample_project')]
|
|
||||||
|
|
||||||
_bypass_targets: t.List[str] = []
|
_bypass_targets: t.List[str] = []
|
||||||
if arg.config:
|
if arg.config:
|
||||||
|
|||||||
Reference in New Issue
Block a user