Add Codecov upload to existing unit test workflow#65
Merged
Conversation
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. Thanks for integrating Codecov - We've got you covered ☂️ |
600cb78 to
5b985b4
Compare
5b985b4 to
9fcacd4
Compare
9fcacd4 to
cfa565f
Compare
Add Codecov upload to the existing unit_tests.yml workflow for the ubuntu-latest / Python 3.12 matrix entry instead of a separate workflow. Also add push-to-main trigger so Codecov can track baseline coverage. Add codecov.yml with patch (70% target) and project (informational) coverage thresholds. Add coverage.xml and htmlcov/ to .gitignore. Implements SECURESIGN-4375 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cfa565f to
ef0b0af
Compare
SequeI
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
unit_tests.ymlworkflow for the ubuntu-latest / Python 3.12 matrix entry, avoiding a duplicate test run.pushtrigger onmaintounit_tests.ymlso Codecov can track baseline coverage.id-token: writepermission for OIDC-based Codecov upload.codecov.ymlwith coverage status thresholds:coverage.xmlandhtmlcov/to.gitignoreto keep generated coverage artifacts out of version control.Setup Required
CODECOV_TOKENmust be configured as a repository secret in GitHub. Without this token, the Codecov upload step will fail (fail_ci_if_error: true). Repository admins should:CODECOV_TOKENin GitHub Settings > Secrets and variables > ActionsTest Plan
mainand on pushes tomaincoverage.xmlandhtmlcov/are listed in.gitignoreand not tracked by gitImplements SECURESIGN-4375
🤖 Generated with Claude Code
Based on the doc