ci(coverage): adding mandatory 80% level of coverage for diff (#239)#288
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #288 +/- ##
==========================================
+ Coverage 77.60% 79.65% +2.04%
==========================================
Files 57 57
Lines 2541 2541
==========================================
+ Hits 1972 2024 +52
+ Misses 569 517 -52 📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR introduces Codecov configuration and CI workflow updates to enforce a minimum coverage threshold on new/changed code, publish test results, and document the project’s quality gates for contributors.
Changes:
- Add
codecov.ymlto enforce a patch (diff) coverage target of 80%. - Update the coverage GitHub Actions workflow to generate
junit.xmland upload test results to Codecov. - Document CI quality checks and add
junit.xmlto.gitignore.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| CONTRIBUTING.md | Documents CI code-quality and coverage expectations for contributors. |
| codecov.yml | Configures Codecov status checks (project informational, patch target 80%). |
| .gitignore | Ignores generated junit.xml. |
| .github/workflows/coverage.yml | Generates JUnit XML output and uploads coverage/test results to Codecov. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8c6135a to
35a9778
Compare
|
|
||
| - name: Print coverage summary | ||
| run: uv run coverage report -m --fail-under=70 | ||
| run: uv run coverage report -m --fail-under=80 |
There was a problem hiding this comment.
suggestion: If you want to enforce this score, it would be better to set fail-under setting inside pyproject.toml
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| flags: connectors | ||
| flags: pyoaev |
There was a problem hiding this comment.
suggestion: This flags is not needed because everything is pyoaev in this repos
35a9778 to
860cd84
Compare
860cd84 to
8cd881f
Compare
8cd881f to
1a66a95
Compare
Proposed changes
junit.xmlCONTRIBUTING.mdTesting Instructions
Related issues
Checklist