Background
Currently, the agentsight module lacks a CI quality gate for unit test coverage. As the codebase grows, it is important to maintain a minimum level of test coverage to ensure code quality and prevent regressions.
Proposal
Add a CI check that enforces a minimum unit test coverage threshold of 80% for the agentsight module.
Requirements
- Integrate a coverage measurement tool into the CI pipeline (e.g.,
coverage.py, codecov, or equivalent)
- The CI pipeline should fail if the agentsight module's unit test coverage drops below 80%
- Coverage reports should be generated and accessible from CI run artifacts
- The threshold should be configurable to allow future adjustments
Acceptance Criteria
Background
Currently, the agentsight module lacks a CI quality gate for unit test coverage. As the codebase grows, it is important to maintain a minimum level of test coverage to ensure code quality and prevent regressions.
Proposal
Add a CI check that enforces a minimum unit test coverage threshold of 80% for the agentsight module.
Requirements
coverage.py,codecov, or equivalent)Acceptance Criteria