tox.ini: passenv: COVERAGE_*
This is required to pass through COVERAGE_PROCESS_START etc.
This commit is contained in:
parent
c6c326f076
commit
7c380b19f3
5
tox.ini
5
tox.ini
|
@ -21,7 +21,7 @@ commands =
|
||||||
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof
|
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof
|
||||||
coverage: coverage combine
|
coverage: coverage combine
|
||||||
coverage: coverage report
|
coverage: coverage report
|
||||||
passenv = USER USERNAME
|
passenv = USER USERNAME COVERAGE_*
|
||||||
setenv =
|
setenv =
|
||||||
# configuration if a user runs tox with a "coverage" factor, for example "tox -e py36-coverage"
|
# configuration if a user runs tox with a "coverage" factor, for example "tox -e py36-coverage"
|
||||||
coverage: _PYTEST_TOX_COVERAGE_RUN=coverage run -m
|
coverage: _PYTEST_TOX_COVERAGE_RUN=coverage run -m
|
||||||
|
@ -41,7 +41,6 @@ deps =
|
||||||
pytest-xdist>=1.13
|
pytest-xdist>=1.13
|
||||||
py27: mock
|
py27: mock
|
||||||
nose
|
nose
|
||||||
passenv = USER USERNAME TRAVIS
|
|
||||||
commands =
|
commands =
|
||||||
pytest -n auto --runpytest=subprocess
|
pytest -n auto --runpytest=subprocess
|
||||||
|
|
||||||
|
@ -59,7 +58,6 @@ deps =
|
||||||
nose
|
nose
|
||||||
hypothesis>=3.56
|
hypothesis>=3.56
|
||||||
{env:_PYTEST_TOX_EXTRA_DEP:}
|
{env:_PYTEST_TOX_EXTRA_DEP:}
|
||||||
passenv = USER USERNAME TRAVIS
|
|
||||||
commands =
|
commands =
|
||||||
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto
|
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto
|
||||||
|
|
||||||
|
@ -99,7 +97,6 @@ changedir=testing
|
||||||
setenv =
|
setenv =
|
||||||
{[testenv]setenv}
|
{[testenv]setenv}
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
passenv = USER USERNAME TRAVIS
|
|
||||||
commands =
|
commands =
|
||||||
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto {posargs:.}
|
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto {posargs:.}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue