Skip to content

Commit 794fd05

Browse files
committed
squash! fixup! Travis: report coverage with all builds
doctesting: remove changedir With coverage 5 we could use COVERAGE_RCFILE to make it find the .coveragerc, or we could add `--rcfile` to _PYTEST_TOX_COVERAGE_RUN, but I've thought that this should not be the job that has to test if `--pyargs` actually works.
1 parent b4faea0 commit 794fd05

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,11 @@ commands =
142142
[testenv:doctesting]
143143
basepython = python
144144
skipsdist = True
145-
# ensure the given pyargs can't mean anything else
146-
changedir = doc/
147145
deps =
148146
PyYAML
149147
{env:_PYTEST_TOX_EXTRA_DEP:}
150148
commands =
151-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -ra en
149+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -ra doc/en
152150
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --doctest-modules --pyargs _pytest
153151

154152
[testenv:regen]

0 commit comments

Comments
 (0)