-
Notifications
You must be signed in to change notification settings - Fork 159
/
Copy pathtox.ini
54 lines (49 loc) · 1.29 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
51
52
53
54
[tox]
minversion = 3.14.0
envlist = py38, py39, py3108, py310, py311, py312, pytest-min, docs
isolated_build = true
passenv =
CI
[testenv]
extras = testing
install_command = python -m pip install \
--requirement dependencies/default/requirements.txt \
--constraint dependencies/default/constraints.txt \
{opts} {packages}
commands = make test
allowlist_externals =
make
[testenv:pytest-min]
extras = testing
install_command = python -m pip install \
--requirement dependencies/pytest-min/requirements.txt \
--constraint dependencies/pytest-min/constraints.txt \
{opts} {packages}
commands = make test
allowlist_externals =
make
[testenv: py3108]
# Python 3.10.8 is the most recent version that triggers
# https://github.com/pytest-dev/pytest-asyncio/issues/757.
#
# We need to set basepython explicitly here because if we just added "py3109" to
# envlist, tox would interpret that as "any py310".
basepython = python3.10.8
[testenv:docs]
extras = docs
deps =
--requirement dependencies/docs/requirements.txt
--constraint dependencies/docs/constraints.txt
change_dir = docs
commands = make html
allowlist_externals =
make
[gh-actions]
python =
3.8: py38, pytest-min
3.9: py39
3.10.9: py3109
3.10: py310
3.11: py311
3.12: py312
pypy3: pypy3