mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
ci: skip pytest cases in managed_components
This commit is contained in:
parent
7df8574119
commit
1f0f661979
@ -12,6 +12,7 @@ addopts =
|
|||||||
--skip-check-coredump y
|
--skip-check-coredump y
|
||||||
--logfile-extension ".txt"
|
--logfile-extension ".txt"
|
||||||
--check-duplicates y
|
--check-duplicates y
|
||||||
|
--ignore-glob "*/managed_components/*"
|
||||||
|
|
||||||
# ignore DeprecationWarning
|
# ignore DeprecationWarning
|
||||||
filterwarnings =
|
filterwarnings =
|
||||||
|
@ -214,7 +214,7 @@ def get_pytest_files(paths: List[str]) -> List[str]:
|
|||||||
pytest_scripts: Set[str] = set()
|
pytest_scripts: Set[str] = set()
|
||||||
for p in paths:
|
for p in paths:
|
||||||
path = Path(p)
|
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)
|
return list(pytest_scripts)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user