Skip to content

Add Codecov integration with 95% coverage thresholds#286

Merged
blink1073 merged 2 commits into
Calysto:mainfrom
blink1073:min-coverage
Mar 13, 2026
Merged

Add Codecov integration with 95% coverage thresholds#286
blink1073 merged 2 commits into
Calysto:mainfrom
blink1073:min-coverage

Conversation

@blink1073
Copy link
Copy Markdown
Contributor

Summary

  • Adds codecov.yml configuring 95% thresholds for both project and patch coverage, waiting for all 10 matrix jobs to upload before reporting
  • Uploads coverage to Codecov from all test jobs (test-linux, test-other-systems, test-other-ubuntu)
  • Adds --cov-report=xml to just cover so the XML report is generated for upload
  • Replaces just test with a direct pytest invocation (adding --cov) in non-linux jobs to avoid running tests twice

Setup required

  • Install the Codecov GitHub App on this repo
  • Add CODECOV_TOKEN as a GitHub Actions secret (from codecov.io repo settings)
  • Add the Codecov status check as a required check in branch protection rules

Uploads coverage from all 10 test matrix jobs and configures Codecov
to wait for all uploads before reporting, failing if project or patch
coverage drops below 95%.
Comment thread .github/workflows/test.yml Fixed
Comment thread .github/workflows/test.yml Fixed
Comment thread .github/workflows/test.yml Fixed
@codecov-commenter
Copy link
Copy Markdown

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 ☂️

@blink1073 blink1073 enabled auto-merge (squash) March 13, 2026 22:16
@blink1073 blink1073 merged commit 29dde9b into Calysto:main Mar 13, 2026
24 checks passed
@blink1073 blink1073 deleted the min-coverage branch March 13, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants