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

[test] Increase the Codecov threshold #14796

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Mar 8, 2019

Continuation of #14764, we have had multiple builds failing after removing code. Codecov struggles to report the coverage correctly. In order to ignore this noise (-0.05%), I'm proposing to increase the Codecov threshold. A build will fail if the code coverage reduction is greater than 2%. This should allow to catch unintended test file removal or regression in the coverage pipeline while still allowing us to refactor with ease. For instance, #13676 coverage reduction was only about -0.5%.

@mui-pr-bot
Copy link

mui-pr-bot commented Mar 8, 2019

No bundle size changes comparing 099bc5e...a3c77a9

Generated by 🚫 dangerJS against a3c77a9

.codecov.yml Outdated Show resolved Hide resolved
@oliviertassinari oliviertassinari merged commit 677337c into mui:next Mar 9, 2019
@oliviertassinari oliviertassinari deleted the codecov-increase-threshold branch March 9, 2019 09:42
@oliviertassinari
Copy link
Member Author

Let's see how it the change behaves with the next couple of pull request :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants