Skip to content

Conversation

@27Bslash6
Copy link
Contributor

Summary

  • Add [tool.coverage.run] and [tool.coverage.report] sections to pyproject.toml
  • Modify test-critical job with OIDC permissions and codecov upload steps
  • Upload both coverage.xml (coverage) and junit.xml (test results) to Codecov
  • Add codecov badge to README
  • Add junit.xml to .gitignore

Implementation Details

Feature Value
Authentication OIDC (no secrets needed)
Failure handling Non-blocking (fail_ci_if_error: false)
Coverage flags python-${{ matrix.python-version }}
Upload condition if: !cancelled() (uploads even on test failure)

Test Plan

  • Local pytest with coverage flags generates coverage.xml and junit.xml
  • CI workflow runs successfully
  • Codecov receives upload (auto-creates repo on first upload)
  • Badge displays in README after first successful upload

- Add [tool.coverage.run] and [tool.coverage.report] to pyproject.toml
- Modify test-critical job with OIDC permissions and codecov uploads
- Upload both coverage.xml and junit.xml (test results)
- Add codecov badge to README
- Add junit.xml to .gitignore

Uses OIDC authentication (no secrets needed), non-blocking uploads,
and per-Python-version flags for coverage filtering.
@codecov
Copy link

codecov bot commented Dec 16, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@27Bslash6 27Bslash6 merged commit d3e068b into main Dec 16, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants