codeflash/.coveragerc
Kevin Turcios 2c79e50d68 test: set up coverage infrastructure in CI
- Add pytest-cov to dev dependencies
- Add .coveragerc with branch coverage, 60% floor (current baseline),
  and source/omit configuration
- Add coverage CI job (ubuntu/py3.13) that runs pytest with --cov,
  enforces the floor, and uploads coverage.xml as an artifact
- Wire coverage into the required-checks-passed gate

Closes #2080
2026-04-23 02:30:46 -05:00

17 lines
248 B
INI

[run]
branch = true
source = codeflash
omit =
codeflash/version.py
[report]
sort = cover
show_missing = true
fail_under = 60
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
if __name__ == .__main__.:
[html]
directory = htmlcov