Fix[CI]: Use correct Python version and enable coverage upload#10
Fix[CI]: Use correct Python version and enable coverage upload#10dkargatzis merged 4 commits intomainfrom
Conversation
Signed-off-by: Dimitris Kargatzis <dkargatzis@gmail.com>
|
❌ Watchflow rules file not found The file How to fix:
After adding the file, push your changes to re-run validation. |
|
Just wondering, what is the plan for the code coverage reporting? My suggestion would be to upload the reports on https://about.codecov.io/ - then we can get test coverage analysis reports within our PRs, for free 😄 |
- Add CODECOV_TOKEN to Codecov action - Create codecov.yml with 80% targets and minimal comment layout - Only comment on coverage changes to reduce noise Signed-off-by: Dimitris Kargatzis <dkargatzis@gmail.com>
Signed-off-by: Dimitris Kargatzis <dkargatzis@gmail.com>
|
@dimeloper It looks like repo was already using your approach but had a few things missing. I've included the token configuration and created a Btw, the comment is posted as |
Signed-off-by: Dimitris Kargatzis <dkargatzis@gmail.com>

What’s Changed
uv python installwithactions/setup-python@v5to correctly set the runner’s Python version (3.12).pytestcommand to include--covand--cov-report=xml, ensuring coverage is properly calculated andcoverage.xmlis generated.Why
Without these fixes:
Upload coverage reportsstep would fail silently since nocoverage.xmlwas produced.