From 7610e535ea2a0630a66df14cca13761d854fa02d Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Wed, 19 Jul 2023 10:20:13 +0800 Subject: [PATCH] ci: ignore test scripts under `managed_components` --- tools/ci/idf_ci_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/idf_ci_utils.py b/tools/ci/idf_ci_utils.py index 6bd4a45d49..c8335a738d 100644 --- a/tools/ci/idf_ci_utils.py +++ b/tools/ci/idf_ci_utils.py @@ -214,7 +214,7 @@ def get_pytest_files(paths: List[str]) -> List[str]: pytest_scripts: Set[str] = set() for p in paths: path = Path(p) - pytest_scripts.update(str(_p) for _p in path.glob('**/pytest_*.py')) + pytest_scripts.update(str(_p) for _p in path.glob('**/pytest_*.py') if 'managed_components' not in _p.parts) return list(pytest_scripts)