-
Notifications
You must be signed in to change notification settings - Fork 21
Configure Codecov for 50% patch coverage threshold #705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #705 +/- ##
=======================================
Coverage 85.35% 85.35%
=======================================
Files 68 68
Lines 4520 4520
=======================================
Hits 3858 3858
Misses 662 662
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
Now i'm gonna tweak some of the lines, in an inconsequential manner, edited in #703 to fix a bug, that led to a "failed" patch coverage for <100%. the editing will introduce the lines as part of the patch, leading to the patch coverage metric, which we can test the functioning of by deliberately triggering the failure by hand. |
there we go, clearly the |
|
this will close #549 |
|
so- what should the minimum patch coverage threshold be? |
ade4a04 to
025ebb1
Compare
Describe your changes
Codecov's default patch coverage check requires ~100% coverage on new code, causing CI failures for any PR without perfect test coverage. This is too strict for a scientific workflow tool in active development.
Added
.codecov.ymlconfiguration:autotarget for flexible baseline trackingerrorstatusResult: Green checks for patches ≥50% coverage, red X only for <50%.
Issue ticket number and link (if applicable)
N/A
Checklist before requesting a review
Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.