tox.ini: generate HTML coverage output
This makes it trivial to inspect, line by line, what got covered. That is useful when evaluating coverage for a new feature. Signed-off-by: Martí Bolívar <mbolivar@amperecomputing.com>
This commit is contained in:
parent
775dce9cc6
commit
113ff95ec5
2
tox.ini
2
tox.ini
|
@ -37,6 +37,6 @@ setenv =
|
||||||
# For instance: ./.tox/py3/tmp/
|
# For instance: ./.tox/py3/tmp/
|
||||||
TOXTEMPDIR={envtmpdir}
|
TOXTEMPDIR={envtmpdir}
|
||||||
commands =
|
commands =
|
||||||
python -m pytest --cov=west {posargs:tests} --basetemp='{envtmpdir}/pytest with space/'
|
python -m pytest --cov-report=html --cov=west {posargs:tests} --basetemp='{envtmpdir}/pytest with space/'
|
||||||
python -m flake8 --config='{toxinidir}'/tox.ini '{toxinidir}'
|
python -m flake8 --config='{toxinidir}'/tox.ini '{toxinidir}'
|
||||||
python -m mypy --config-file='{toxinidir}'/tox.ini --package=west
|
python -m mypy --config-file='{toxinidir}'/tox.ini --package=west
|
||||||
|
|
Loading…
Reference in New Issue