-
Notifications
You must be signed in to change notification settings - Fork 254
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (33 loc) · 825 Bytes
/
tox.ini
File metadata and controls
38 lines (33 loc) · 825 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
32
33
34
35
36
37
38
[tox]
isolated_build = True
envlist = py311-light, py311-all, py312-light, py312-all
[testenv]
skip_install = true
allowlist_externals = poetry
passenv = *
commands =
poetry run pytest tests/unit/ {posargs}
# Run: tox -e py311-light -- tests/unit
[testenv:py311-light]
basepython = python3.11
commands_pre =
poetry env use {envpython}
poetry install
# Run: tox -e py311-all -- tests/unit
[testenv:py311-all]
basepython = python3.11
commands_pre =
poetry env use {envpython}
poetry install -E all
# Run: tox -e py312-light -- tests/unit
[testenv:py312-light]
basepython = python3.12
commands_pre =
poetry env use {envpython}
poetry install
# Run: tox -e py312-all -- tests/unit
[testenv:py312-all]
basepython = python3.12
commands_pre =
poetry env use {envpython}
poetry install -E all