mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 16:32:10 -05:00
Split out coverage
This commit is contained in:
1 parent
00a0e13292
commit
65ae948eca
3 files changed
+32
-20
No files matched your search
@@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 2.4.0
|
||||
envlist = docs,flake8,mypy,twine,coverage,py{36,37,38,39,310},du{14,15,16,17,18}
|
||||
envlist = docs,flake8,mypy,twine,py{36,37,38,39,310},du{14,15,16,17,18}
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
@@ -58,16 +58,6 @@ extras =
|
||||
commands =
|
||||
isort --check-only --diff .
|
||||
|
||||
[testenv:coverage]
|
||||
basepython = python3
|
||||
description =
|
||||
Run code coverage checks.
|
||||
setenv =
|
||||
PYTEST_ADDOPTS = --cov sphinx --cov-config "{toxinidir}/setup.cfg"
|
||||
commands =
|
||||
{[testenv]commands}
|
||||
coverage report
|
||||
|
||||
[testenv:mypy]
|
||||
basepython = python3
|
||||
description =
|
||||
|
||||
Reference in new issue
Block a user