Improve cover
tox env
Reuse `setenv` settings from parent `testenv` env This is a followup to I3aefd97312bb9e5985e601dd192913247046d6e4 Change-Id: I4960a737a68ee146447cb6e4a5c6fe5b36a6dfc1
This commit is contained in:
parent
52b1bc11d6
commit
0ed6fd2a30
6
tox.ini
6
tox.ini
@ -26,11 +26,7 @@ commands =
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
PYTHONDONTWRITEBYTECODE = 1
|
||||
LANGUAGE=en_US
|
||||
LC_ALL=en_US.UTF-8
|
||||
TESTS_DIR=./ironic_staging_drivers/tests/unit/
|
||||
setenv = {[testenv]setenv}
|
||||
PYTHON=coverage run --source ironic_staging_drivers --omit='*tests*' --parallel-mode
|
||||
commands =
|
||||
coverage erase
|
||||
|
Loading…
Reference in New Issue
Block a user