We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm configuring coverage report in pyproject.toml like
[tool.coverage.report] precision = 1
and trying to get json report with fail-under configured like
poetry run pytest --cov --cov-append --cov-fail-under=80.2 --cov-report=json
but in the following check, it's failing
pytest-cov/src/pytest_cov/plugin.py
Line 380 in 5295ce0
as
FAIL Required test coverage of 80.2% not reached. Total coverage: 80.16%
Because self.cov_total is something like 80.1634243243 it should be rounding 80.16 to 80.20 and pass.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm configuring coverage report in pyproject.toml like
and trying to get json report with fail-under configured like
poetry run pytest --cov --cov-append --cov-fail-under=80.2 --cov-report=json
but in the following check, it's failing
pytest-cov/src/pytest_cov/plugin.py
Line 380 in 5295ce0
as
FAIL Required test coverage of 80.2% not reached. Total coverage: 80.16%
Because self.cov_total is something like 80.1634243243 it should be rounding 80.16 to 80.20 and pass.
The text was updated successfully, but these errors were encountered: