Skip to content
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

Update online codecov requirement to 98% #849

Closed
clizbe opened this issue Oct 11, 2024 · 3 comments
Closed

Update online codecov requirement to 98% #849

clizbe opened this issue Oct 11, 2024 · 3 comments

Comments

@clizbe
Copy link
Member

clizbe commented Oct 11, 2024

What and Why

Local codecov is 100%, but because of JuMP if-statements we have to jerry-rig the online coverage to reach 100%.
This is silly - let's remove the jerry-rigging and set the acceptable threshold to 98% (taking after JuMP).
Coverage tests will still break if new code in a PR has lower coverage than main.

Possible Drawbacks

Slippery slope!

Related Issues

No response

@clizbe
Copy link
Member Author

clizbe commented Oct 11, 2024

@abelsiqueira <3

@datejada
Copy link
Member

datejada commented Oct 11, 2024

This is a relevant post on this topic from the people of Codecov 😜

https://about.codecov.io/blog/the-case-against-100-code-coverage/

abelsiqueira added a commit to abelsiqueira/TulipaEnergyModel.jl that referenced this issue Oct 14, 2024
Add codecov configuration file.
Set 95% coverage as target for the project.
Set the yellow range to 90%-95%.

Closes TulipaEnergy#849
@abelsiqueira
Copy link
Member

We discussed in person the valid coverage ranges.

abelsiqueira added a commit to abelsiqueira/TulipaEnergyModel.jl that referenced this issue Oct 14, 2024
Add codecov configuration file.
Set 95% coverage as target for the project.
Set the yellow range to 90%-95%.

Closes TulipaEnergy#849
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

No branches or pull requests

3 participants