Skip to content

Commit 677a47f

Browse files
committed
fix tox -e *-coverage running against source files
1 parent 34f68dc commit 677a47f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ skip_missing_interpreters = true
1212

1313
[testenv]
1414
setenv =
15-
coverage: _PYTEST_CMD=coverage run --append -m pytest
15+
coverage: _PYTEST_CMD=pytest --cov
1616
xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX
1717
deps =
1818
pytestlatest: pytest
@@ -29,7 +29,7 @@ deps =
2929
pytest44: pytest~=4.4.0
3030
pytest43: pytest~=4.3.0
3131

32-
coverage: coverage
32+
coverage: pytest-cov
3333
xdist: pytest-xdist
3434
-r{toxinidir}/requirements-testing.txt
3535
anyio[trio]

0 commit comments

Comments
 (0)