Coverage on windows chokes with the tox env var COVERAGE_PROCESS_START

This commit is contained in:
Pedro Algarvio 2019-01-30 11:47:15 +00:00
parent 1c62e2750e
commit 3a21afa73d
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -30,11 +30,8 @@ commands = pytest --rootdir {toxinidir} --log-file={toxinidir}/artifacts/logs/ru
[testenv:runtests-coverage]
# Add tests/support/coverage to PYTHONPATH in order to get code coverage from subprocesses.
# Additional, set the COVERAGE_PROCESS_START environment variable so that the coverage library
# knows it's supposed to track subprocesses.
setenv =
PYTHONPATH={toxinidir}/tests/support/coverage
COVERAGE_PROCESS_START={toxinidir}/.coveragerc
commands_pre =
- coverage erase
commands =