Quality of Life: Make codecov less meticulous #1966
Merged
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.
If you currently look at the open PRs there is not a single PR that passes all our checks. For most PRs I found that at least Codecov is failing. I think the current settings are a bit too agressive. For example take #1964 . In this This PR restructures some code. Everything is still covered, but because its a single line of code more the overall % of covered lines decreased by 0.07% and the check failed.
In this PR I set the target value for the project to 80% with a 1% threshold. We are currently just above 79% so if this decreases significantly the checks will fail.
I also set it to ignore experimental folders (jupyterviz)
And finally I disabled comments on PR. This might be debatable, but I found myself just ignoring those comments after having seen too many. For me its very similar for checks. I don't notice failed checks sometimes because I am so used to the red cross on Mesa. I hope this will get better with this PR. Additionally it would be great if we could setup pre-commit autoupdating PRs, but this would be in contrast to the ideas proposed in #1963