forked from github/pelican
Enforce 75% code coverage in CI via Tox
This commit is contained in:
parent
6a50191728
commit
bdd4e45628
2 changed files with 2 additions and 2 deletions
2
tasks.py
2
tasks.py
|
|
@ -49,7 +49,7 @@ def coverage(c):
|
|||
"""Generate code coverage of running the test suite."""
|
||||
c.run(
|
||||
f"{VENV_BIN}/pytest --cov=pelican --cov-report term-missing "
|
||||
"--cov-fail-under 74",
|
||||
"--cov-fail-under 75",
|
||||
pty=PTY,
|
||||
)
|
||||
c.run(f"{VENV_BIN}/coverage html", pty=PTY)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue