forked from gridhead/gi-loadouts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (32 loc) · 940 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,313},py{312,313}-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=gi_loadouts --cov-report term-missing --cov-report xml --cov-report html" test/ {posargs} -vvvv
[testenv:py{312,313}-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=gi_loadouts --cov-report term-missing --cov-report xml --cov-report html" test/ {posargs} -vvvv
[testenv:cleaning]
commands =
poetry run ruff check gi_loadouts/ test/