Add {envpython} and --cov-report html, multiline for clarity
This commit is contained in:
parent
5bccda1102
commit
3890cb4c04
9
tox.ini
9
tox.ini
|
@ -15,7 +15,14 @@ pass_env =
|
||||||
PYLAST_PASSWORD_HASH
|
PYLAST_PASSWORD_HASH
|
||||||
PYLAST_USERNAME
|
PYLAST_USERNAME
|
||||||
commands =
|
commands =
|
||||||
pytest -v -s -W all --cov pylast --cov tests --cov-report term-missing --cov-report xml --random-order {posargs}
|
{envpython} -m pytest -v -s -W all \
|
||||||
|
--cov pylast \
|
||||||
|
--cov tests \
|
||||||
|
--cov-report html \
|
||||||
|
--cov-report term-missing \
|
||||||
|
--cov-report xml \
|
||||||
|
--random-order \
|
||||||
|
{posargs}
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
skip_install = true
|
skip_install = true
|
||||||
|
|
Loading…
Reference in a new issue