-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
35 lines (32 loc) · 972 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
34
35
[tox]
minversion = 3.12.0
envlist = py{312},py{312}-dist,cleaning
isolated_build = true
skip_missing_interpreters = true
[testenv]
setenv =
PYTHONPATH={toxinidir}
skip_install = true
sitepackages = false
allowlist_externals =
poetry
commands_pre =
pip3 install --upgrade poetry
poetry install --all-extras
commands =
poetry run pytest -o "addopts=--cov-config .coveragerc --cov=gi_loadouts --cov-report term-missing --cov-report xml --cov-report html" test/ {posargs} -vvvv
[testenv:py{312}-dist]
setenv =
PYTHONPATH={toxinidir}
skip_install = true
sitepackages = false
allowlist_externals =
poetry
commands_pre =
pip3 install --upgrade poetry
poetry install --all-extras
commands =
poetry run pytest -o "addopts=--numprocesses auto --cov-config .coveragerc --cov=gi_loadouts --cov-report term-missing --cov-report xml --cov-report html" test/ {posargs} -vvvv
[testenv:cleaning]
commands =
poetry run ruff check gi_loadouts/