-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
tox.ini
26 lines (22 loc) · 610 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
[tox]
envlist = py{38,39,310,311}, docs, docs-links
[testenv:docs]
deps = -rdocs/requirements-docs.txt
commands =
{envpython} -m sphinx -b html docs docs/_build/html
[testenv:docs-links]
deps = -rdocs/requirements-docs.txt
commands =
{envpython} -m sphinx -b linkcheck docs docs/_build/html
[testenv:clean-docs]
skip_install = true
deps =
commands = python {toxinidir}/docs/clean_build_artifacts.py
[testenv]
deps =
-rrequirements-dev.txt
commands =
coverage erase
coverage run -m pytest {posargs:tests -vv -W error}
coverage xml
coverage report --fail-under 100 --show-missing