mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
ci: exclude checking manifest files under managed_components
This commit is contained in:
@@ -418,8 +418,11 @@ def check_exist() -> None:
|
|||||||
|
|
||||||
config_files = [str(p) for p in Path(IDF_PATH).glob('**/.build-test-rules.yml')]
|
config_files = [str(p) for p in Path(IDF_PATH).glob('**/.build-test-rules.yml')]
|
||||||
for file in config_files:
|
for file in config_files:
|
||||||
|
if 'managed_components' in Path(file).parts:
|
||||||
|
continue
|
||||||
|
|
||||||
with open(file) as fr:
|
with open(file) as fr:
|
||||||
configs = yaml.load(fr)
|
configs = yaml.safe_load(fr)
|
||||||
for path in configs.keys():
|
for path in configs.keys():
|
||||||
if path.startswith('.'):
|
if path.startswith('.'):
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user