-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
50 lines (43 loc) · 1.01 KB
/
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
45
46
47
48
49
50
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
# See https://tox.readthedocs.io/en/latest/config.html for reference.
[tox]
# Environments run by default and in this order
# unless specified via CLI -eENVLIST
# or environment variable TOXENV
envlist =
clean
pyroma
doc
# Base-environment
[testenv]
[testenv:clean]
skip_install = true
allowlist_externals =
rm
deps = coverage
commands =
coverage erase
rm -rf .coverage*
rm -rf coverage.xml
description =
Clean up before tests
[testenv:pyroma]
skip_install = true
deps =
pyroma
commands =
pyroma --min=10 .
description =
Check the package friendliness
[testenv:doc]
allowlist_externals =
sphinx-build
extras =
doc
commands =
sphinx-build -W -b html doc/ doc/_build/html
description =
Test whether docs build passes