-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
33 lines (30 loc) · 889 Bytes
/
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
[tox]
# Sub-commands were introduced in v4. These are used in workflows and docs.
min_version = 4
envlist = py39, py310, py311, py312
isolated_build = true
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
description = Test environment for minor Python version
passenv = *
# Skip the local package install so that `poetry` can handle installing
# all of the dependencies and do so only from the `poetry.lock` lockfile.
skip_install = true
allowlist_externals = poetry
commands =
poetry check --lock
poetry install --verbose --sync --with test
poetry run python -m pip list
poetry run pytest {posargs}
[testenv:qa]
description = Quality Assurance (QA) checks
commands =
poetry check --lock
poetry install --verbose --sync --with qa
poetry run python -m pip list
poetry run pre-commit run --all-files --verbose