ci: exclude checking manifest files under managed_components

This commit is contained in:
Fu Hanxi
2023-08-17 15:43:19 +08:00
parent af79a47422
commit c8cddaee8a

View File

@@ -418,8 +418,11 @@ def check_exist() -> None:
config_files = [str(p) for p in Path(IDF_PATH).glob('**/.build-test-rules.yml')]
for file in config_files:
if 'managed_components' in Path(file).parts:
continue
with open(file) as fr:
configs = yaml.load(fr)
configs = yaml.safe_load(fr)
for path in configs.keys():
if path.startswith('.'):
continue