-
Notifications
You must be signed in to change notification settings - Fork 345
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (27 loc) · 779 Bytes
/
tox.ini
File metadata and controls
31 lines (27 loc) · 779 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
31
# Tox (http://tox.testrun.org/) 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 =
py{310, 311, 312}-flask2,
py{311, 312, 313, 314}-flask3
pypy3.11-flask2
pypy3.11-flask3
doc
[testenv]
commands = {posargs:inv test qa}
deps =
flask2: flask<3.0.0
flask3: flask>=3.0.0
-r{toxinidir}/requirements/test.pip
-r{toxinidir}/requirements/develop.pip
[testenv:pypy3.11-flask{2,3}]
deps =
{[testenv]deps}
rpds-py<0.30
commands = {posargs:inv test}
[testenv:doc]
changedir = doc
deps = .[doc]
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html