Skip to content

Commit

Permalink
tox: include coverage on path job
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Oct 17, 2022
1 parent c6dc62f commit 4fa3086
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ commands =
description = verify build can run from source (bootstrap)
setenv =
PYTHONPATH = {toxinidir}/src
commands =
commands_pre =
python -E -m pip uninstall -y build colorama
pytest -ra {posargs:-n auto}

[testenv:type]
description = run type check on code base
Expand Down Expand Up @@ -102,7 +101,7 @@ commands =
coverage xml -o {toxworkdir}/coverage.xml -i
coverage html -d {toxworkdir}/htmlcov -i
python -m diff_cover.diff_cover_tool --compare-branch {env:DIFF_AGAINST:origin/main} {toxworkdir}/coverage.xml
depends = {py311, py310, py39, py38, py37, py36, pypy37, pypy38, pypy39}
depends = {py311, py310, py39, py38, py37, py36, pypy37, pypy38, pypy39, path}

[flake8]
max-line-length = 127
Expand Down

0 comments on commit 4fa3086

Please sign in to comment.