forked from pytest-dev/pytest-asyncio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (50 loc) · 1.02 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
55
56
[tox]
minversion = 3.14.0
envlist = py37, py38, py39, py310, py311, lint, version-info, pytest-min
isolated_build = true
passenv =
CI
[testenv]
extras = testing
deps =
--requirement dependencies/default/requirements.txt
--constraint dependencies/default/constraints.txt
commands = make test
allowlist_externals =
make
[testenv:pytest-min]
extras = testing
deps =
--requirement dependencies/pytest-min/requirements.txt
--constraint dependencies/pytest-min/constraints.txt
commands = make test
allowlist_externals =
make
[testenv:lint]
basepython = python3.10
extras = testing
deps =
pre-commit == 2.16.0
commands =
make lint
allowlist_externals =
make
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report
[testenv:version-info]
deps =
packaging == 21.3
commands =
python ./tools/get-version.py
[gh-actions]
python =
3.7: py37, pytest-min
3.8: py38
3.9: py39
3.10: py310
3.11-dev: py311
pypy3: pypy3