Skip to content

Commit

Permalink
add coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoopmans committed Aug 2, 2024
1 parent 5894dc4 commit 944ce0a
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
[tox]
envlist = py27,py35,py36,py37,py38,py39,py310,py311,py312,mypy,mypy2
envlist = clean,py27,py35,py36,py37,py38,py39,py310,py311,py312,mypy,mypy2

[testenv]
deps = -rrequirements_dev.txt
commands =
pytest {posargs}
pytest --cov --cov-append --cov-report=term-missing {posargs}
depends =
{py27,py312}: clean
report: py27,py312

[testenv:mypy]
basepython = python3.12
deps =
mypy
-rrequirements_dev.txt
commands = mypy cert_chain_resolver

[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage html

[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase

0 comments on commit 944ce0a

Please sign in to comment.