-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (33 loc) · 892 Bytes
/
Copy pathtox.ini
File metadata and controls
40 lines (33 loc) · 892 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
[tox]
requires =
tox>=4
tox-uv>=1
# Use
# uv python list --managed-python to see what is available from via tox-uv
# It does not seem possible to have `envlist` auto-updated w/o parsing the
# output of the above command, so it must be manually updated.
envlist =
py38-mpl{36,37}
py39-mpl{38,39}
py310-mpl{310}
py311-mpl{311}
py312-mpl{312}
py313-mpl{313}
skip_missing_interpreters = false
# Use
# `tox` — run full test suite across all envs
# `tox -e py38-mpl37` — run full test in a specific env
[testenv]
runner = uv-venv-runner
deps =
pytest
mpl36: matplotlib==3.6.*
mpl37: matplotlib==3.7.*
mpl38: matplotlib==3.8.*
mpl39: matplotlib==3.9.*
mpl310: matplotlib==3.10.*
mpl311: matplotlib==3.11.*
mpl312: matplotlib==3.12.*
mpl313: matplotlib==3.13.*
commands =
pytest -s -v {posargs}