From 7c380b19f393ed4f71d66e6d57439b5d59951571 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 14 Oct 2018 12:31:43 +0200 Subject: [PATCH] tox.ini: passenv: COVERAGE_* This is required to pass through COVERAGE_PROCESS_START etc. --- tox.ini | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 3372ee207..0b2cba407 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ commands = {env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof coverage: coverage combine coverage: coverage report -passenv = USER USERNAME +passenv = USER USERNAME COVERAGE_* setenv = # configuration if a user runs tox with a "coverage" factor, for example "tox -e py36-coverage" coverage: _PYTEST_TOX_COVERAGE_RUN=coverage run -m @@ -41,7 +41,6 @@ deps = pytest-xdist>=1.13 py27: mock nose -passenv = USER USERNAME TRAVIS commands = pytest -n auto --runpytest=subprocess @@ -59,7 +58,6 @@ deps = nose hypothesis>=3.56 {env:_PYTEST_TOX_EXTRA_DEP:} -passenv = USER USERNAME TRAVIS commands = {env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto @@ -99,7 +97,6 @@ changedir=testing setenv = {[testenv]setenv} PYTHONDONTWRITEBYTECODE=1 -passenv = USER USERNAME TRAVIS commands = {env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto {posargs:.}