Skip to content

Commit

Permalink
Split and fix tox config for more better coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
colindean authored and tantale committed May 27, 2023
1 parent 09a23e5 commit da57ce2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,29 @@
# PyPy configuration (on Linux/OSX):
# - /usr/local/bin/pypy3 -> /opt/pypy3.6-v7.3.0-osx64/bin/pypy3
envlist =
py{37,38,39,310,311}-wrapt{1.10,1.11,1.12,1.13}
pypy3
py{37,38,39,310}-wrapt{1.10,1.11,1.12,1.13,1.14}
py{311}-wrapt{1.14}
pypy3.9
docs

[testenv]
commands = pytest --cov-report term-missing --cov=deprecated tests/
deps =
py{37,38,39,310,311,py,py3}: PyTest
py{37,38,39,310,311,py,py3}: PyTest-Cov
py{37,38,39,310,311,py3.9}: PyTest
py{37,38,39,310,311,py3.9}: PyTest-Cov
wrapt1.10: wrapt ~= 1.10.0
wrapt1.11: wrapt ~= 1.11.0
wrapt1.12: wrapt ~= 1.12.0
wrapt1.13: wrapt == 1.13.0rc3
coverage < 5
wrapt1.13: wrapt ~= 1.13.0
wrapt1.14: wrapt ~= 1.14.0
coverage

[testenv:docs]
basepython = python
# jinja2 3.0.3 was the last version to have contextfunction that sphinx 1.x needs
deps =
sphinx < 2
jinja2 == 3.0.3
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/html
sphinx-build -b epub -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/epub

0 comments on commit da57ce2

Please sign in to comment.