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 <mbolivar@amperecomputing.com>
  • Loading branch information
mbolivar-ampere authored and pdgendt committed Sep 13, 2024
1 parent c399c01 commit e6b3014
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 e6b3014

Please sign in to comment.