-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (27 loc) · 875 Bytes
/
tox.ini
File metadata and controls
30 lines (27 loc) · 875 Bytes
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 (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.
[tox]
envlist =
py36-pytest{46,50,latest},
py37-pytest{46,50,latest},
py38-pytest{46,50,60,70,latest},
py39-pytest{46,50,60,70,latest}
py310-pytest{70,80,latest}
py311-pytest{70,80,latest}
py312-pytest{70,80,latest}
[testenv]
commands = python -m pytest tests
deps =
xmlschema==1.0.13
pytest46: pytest >=4.6.0,<5.0.0
pytest50: pytest >=5.0.0, <6.0.0
pytest60: pytest >=6.0.0, <7.0.0
pytest70: pytest >=7.0.0, <8.0.0
pytest80: pytest >=8.0.0, <9.0.0
pytestlatest: pytest >= 4.6.0
[testenv:lint]
deps = restructuredtext_lint
Pygments
commands = rst-lint README.rst