Skip to content

Commit

Permalink
tox.ini: generate HTML coverage output
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mbolivar-ampere authored and pdgendt committed Sep 12, 2024
1 parent d4ad256 commit 59bf95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ setenv =
# For instance: ./.tox/py3/tmp/
TOXTEMPDIR={envtmpdir}
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 mypy --config-file='{toxinidir}'/tox.ini --package=west

0 comments on commit 59bf95a

Please sign in to comment.