Problem Statement
The project has high test coverage for core library, but CI does not enforce a minimum coverage threshold. Coverage could regress without failing the build.
Current State
- pytest with coverage runs in CI
- No minimum threshold configured
- Coverage report generated but not enforced
- No coverage badge in README
Proposed Solution
- Add coverage threshold to pytest configuration
- Fail CI if coverage drops below threshold
- Add coverage badge to README (using codecov or similar)
Acceptance Criteria
Technical Notes
- Add
--cov-fail-under=90 to pytest command
- Consider separate thresholds for
src/ (core) and api/ (web)
- Codecov integration available via GitHub Action
Problem Statement
The project has high test coverage for core library, but CI does not enforce a minimum coverage threshold. Coverage could regress without failing the build.
Current State
Proposed Solution
Acceptance Criteria
Technical Notes
--cov-fail-under=90to pytest commandsrc/(core) andapi/(web)