diff --git a/pytest.ini b/pytest.ini index ffc14c7019..70acd73394 100644 --- a/pytest.ini +++ b/pytest.ini @@ -12,6 +12,7 @@ addopts = --skip-check-coredump y --logfile-extension ".txt" --check-duplicates y + --ignore-glob "*/managed_components/*" # ignore DeprecationWarning filterwarnings = 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)