-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtox.ini
More file actions
28 lines (25 loc) · 887 Bytes
/
Copy pathtox.ini
File metadata and controls
28 lines (25 loc) · 887 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
[tox]
minversion = 3.12.0
envlist = py{312,313,314},py{312,313,314}-dist,cleaning
isolated_build = true
skip_missing_interpreters = true
[testenv]
setenv =
PYTHONPATH={toxinidir}
QT_QPA_PLATFORM=offscreen
skip_install = true
sitepackages = false
deps = uv
allowlist_externals =
uv
commands_pre =
uv sync --active --extra dev
commands =
uv run --active pytest -o "addopts=--cov=gi_loadouts --cov-report term-missing --cov-report xml --cov-report html --cov-fail-under=100" test/ {posargs} -vvvv
[testenv:py{312,313,314}-dist]
commands =
uv run --active pytest -o "addopts=--numprocesses auto --cov=gi_loadouts --cov-report term-missing --cov-report xml --cov-report html --cov-fail-under=100" test/ {posargs} -vvvv
[testenv:cleaning]
commands =
uv run --active ruff check --diff gi_loadouts/ test/
uv run --active ruff format --check gi_loadouts/ test/