-
Notifications
You must be signed in to change notification settings - Fork 19
/
tox.ini
30 lines (25 loc) · 885 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
envlist = py37,py38,py39,py310,py311,pypy3,coverage-report,packaging
[testenv]
changedir = .tox
deps = -rrequirements.txt
commands = coverage run --parallel --rcfile {toxinidir}/.tox-coveragerc -m pytest {envsitepackagesdir}/clastic {posargs}
[testenv:py311]
# chameleon 4.3.0 is broken on windows, and 4.4.0 dropped py3.7
# when dropping py3.7, can remove this
deps =
-rrequirements.txt
chameleon>=4.4.1
[testenv:coverage-report]
depends = py37,py38,py39,py310,py311,pypy3
changedir = .tox
deps = coverage
commands = coverage combine --rcfile {toxinidir}/.tox-coveragerc
coverage report --rcfile {toxinidir}/.tox-coveragerc
coverage html --rcfile {toxinidir}/.tox-coveragerc -d {toxinidir}/htmlcov
[testenv:packaging]
changedir = {toxinidir}
deps =
readme_renderer
commands =
python setup.py check --metadata --restructuredtext --strict