-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
56 lines (50 loc) · 916 Bytes
/
tox.ini
File metadata and controls
56 lines (50 loc) · 916 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[tox]
requires =
tox>=4
tox-uv
envlist =
py3{11,12,13,14}-latest
py311-min
skip_missing_interpreters = true
[gh-actions]
python =
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[gh-actions:env]
DEPENDS =
min: min
latest: latest
[testenv]
description = Pytest with coverage (excludes network S3 tests)
labels = test
setenv =
COVERAGE_FILE = {toxinidir}/.tox/.coverage.{envname}
pass_env =
LOGNAME
USER
LNAME
USERNAME
PY_COLORS
FORCE_COLOR
NO_COLOR
CLICOLOR
CLICOLOR_FORCE
PYTHON_GIL
extras =
test
runner =
!min: uv-venv-lock-runner
min: uv-venv-runner
uv_resolution =
min: lowest-direct
commands =
pytest -m "not s3" --cov=modelarrayio --cov-config={toxinidir}/pyproject.toml --cov-report=term-missing --cov-report=xml {posargs:test}
[testenv:lint]
runner = uv-venv-lock-runner
extras =
test
commands =
ruff check src test
ruff format --check src test