also use venv coverage
This commit is contained in:
parent
44c16b8c68
commit
6fb91c040a
1 changed files with 1 additions and 2 deletions
3
tox.ini
3
tox.ini
|
|
@ -36,13 +36,12 @@ commands_pre =
|
||||||
[testenv:py3]
|
[testenv:py3]
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
allowlist_externals = coverage3
|
|
||||||
setenv =
|
setenv =
|
||||||
{[testenv]setenv}
|
{[testenv]setenv}
|
||||||
PYTHONPATH=.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib
|
PYTHONPATH=.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib
|
||||||
commands_pre =
|
commands_pre =
|
||||||
{[testenv]commands_pre}
|
{[testenv]commands_pre}
|
||||||
coverage3 erase --rcfile .coveragerc3
|
python -m coverage erase --rcfile .coveragerc3
|
||||||
commands =
|
commands =
|
||||||
python -m pytest -n auto --cov --cov-config .coveragerc3 --cov-report=html
|
python -m pytest -n auto --cov --cov-config .coveragerc3 --cov-report=html
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue