-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
44 lines (40 loc) · 878 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[tox]
requires =
tox>=4.2
env_list =
docs
packaging
py{313, 312, 311, 310, 39, 38, 37, 36}
coverage-report
[testenv]
passenv = CI GIT_SSL_CAINFO
setenv =
LC_ALL = en_US.UTF-8
deps =
coverage
-e .[tests]
commands = coverage run --parallel -m pytest --timeout 300 []
install_command = python -m pip install {opts} {packages}
usedevelop = True
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report
[testenv:docs]
deps =
-r{toxinidir}/docs/requirements.txt
-e .[tests]
commands =
sphinx-build -d {envtmpdir}/doctrees -b html docs docs/build/html
sphinx-build -d {envtmpdir}/doctrees -b man docs docs/build/man
[testenv:packaging]
deps =
check-manifest
readme_renderer[md]
twine
commands =
python setup.py sdist
check-manifest
twine check dist/*