Merge "Improve `cover` tox env"

This commit is contained in:
Jenkins 2017-09-26 13:09:06 +00:00 committed by Gerrit Code Review
commit 9748f9b83e
1 changed files with 1 additions and 5 deletions

View File

@ -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