Файли
openidea/docs
LU XIANGRUIтаwildcatDownstairs a52a639b8e fix(coverage): import coverage.py data below fail_under and in monorepo members (#6478)
coverage xml (import) and coverage lcov (Run with Coverage) exit 2 when the data misses a [report] fail_under, which failed the import and lost the run's report; both now get --fail-under=0.

coverage.py now runs in the nearest folder above the data file with a coverage.py configuration (.coveragerc, setup.cfg, tox.ini, pyproject.toml), else the project root, so a monorepo member's [paths] and relative_files apply. Files without source come from the combined data's measured_files() instead of parsing warnings, and Python runs with -W ignore, so disable_warnings and PYTHONWARNINGS=error no longer drop files or fail the import. coverage.py runs with a 10-minute timeout, and coverage.py 4 data or a coverage.py older than 6.3 get clear errors.

Closes #6474

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-27 20:30:50 +08:00
..