Skip to content

Commit

Permalink
combined coverage of all tested python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
christophevg committed Jan 3, 2024
1 parent 50318d7 commit e4cabd7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,27 @@ envlist =
py310
py39
py38
coverage

[pytest]
minversion = 3
testpaths = tests

[testenv]
allowlist_externals = coverage
deps =
pytest
coverage
commands =
coverage run -m --omit="*/.tox/*,*/distutils/*,tests/*" pytest {posargs}

[testenv:coverage]
basepython =
python3
deps =
coverage
commands =
coverage combine
coverage report

[coverage:run]
parallel=True

0 comments on commit e4cabd7

Please sign in to comment.