Skip to content

Commit

Permalink
fix(.tasks.toml): lower coverage fail threshold to 1%
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 19, 2023
1 parent 96c6d82 commit b2b7718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ cmd = "pytest --cov=src --cov-report=xml"
help = "run tests with pytest and generate a coverage report"

[tool.poe.tasks.tests-cov-fail]
shell = "pytest --cov=src --cov-report=xml --cov-fail-under=10 --junitxml=tests/pytest.xml | tee tests/pytest-coverage.txt"
shell = "pytest --cov=src --cov-report=xml --cov-fail-under=1 --junitxml=tests/pytest.xml | tee tests/pytest-coverage.txt"
help = "run tests with pytest and generate a coverage report, fail if coverage is below 80%"

[tool.poe.tasks.clean-cov]
Expand Down

0 comments on commit b2b7718

Please sign in to comment.