Add {envpython} and --cov-report html, multiline for clarity

This commit is contained in:
Hugo van Kemenade 2024-02-04 22:03:26 +02:00
parent 5bccda1102
commit 3890cb4c04

View file

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