-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtox.ini
43 lines (36 loc) · 802 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
36
37
38
39
40
41
42
43
[tox]
envlist = py38, py39, py310, py311, py312
[testenv]
deps =
pdm==2.17.2
pytest===7.4.4
[testenv:py38]
basepython = python3.8
commands =
pdm install --lockfile=pdm-py38unix.lock
pdm run pytest
[testenv:py39]
basepython = python3.9
commands =
pdm install --lockfile=pdm-py39+unix.lock
pdm run pytest
[testenv:py310]
basepython = python3.10
commands =
pdm install --lockfile=pdm-py39+unix.lock
pdm run pytest
[testenv:py311]
basepython = python3.11
commands =
pdm install --lockfile=pdm-py39+unix.lock
pdm run pytest
[testenv:py312]
basepython = python3.12
commands =
pdm install --lockfile=pdm-py39+unix.lock
pdm run pytest
[testenv:tkinter]
basepython = python3
whitelist_externals = sudo
commands_pre =
sudo apt-get install -y python3-tk