You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using coveralls.io and it says (as example) that I have a coverage of 94.708%
in coverage.py I can say --fail-under=95 and the coverage doesn't fail because it obviously does rounding to an integer.
It's a bit uncomfortable when you run all things locally before you commit your changes but finally fail because of such an issue. It happens to me several times.
I see following essential improvements you could do:
enable to define precise coverage for --fail-under
Original comment byThomas Lehmann (Bitbucket: Carolinus, GitHub: Carolinus)
I can't say whether it's really an issue on the coverage.py, something with coveralls.io or the way I'm using the tool.
Here some insights (I hope it does help):
Originally reported by Anonymous
Hi,
Situation:
But that's (sometimes) not true because:
--fail-under=95
and the coverage doesn't fail because it obviously does rounding to an integer.It's a bit uncomfortable when you run all things locally before you commit your changes but finally fail because of such an issue. It happens to me several times.
I see following essential improvements you could do:
--fail-under
kind regards,
Thomas (mail: thomas.lehmann.private@gmail.com)
The text was updated successfully, but these errors were encountered: