-
Notifications
You must be signed in to change notification settings - Fork 142
/
Copy pathtox.ini
43 lines (37 loc) · 867 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 = py{314,313,312,311,310,39,38},bootstrap
skip_missing_interpreters = true
[gh-actions]
python =
3.8: py38, bootstrap
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[testenv]
deps =
requests
testpath
responses
docutils
tomli;python_version < "3.11"
tomli-w
pytest>=2.7.3
pytest-cov
skip_install=true
setenv =
PYTHONPATH = flit_core
commands =
python -m pytest --cov=flit --cov=flit_core/flit_core {posargs}
[testenv:bootstrap]
skip_install = true
# Make the install step a no-op, so nothing gets installed in the env
install_command = true {packages}
allowlist_externals = true
changedir = flit_core
commands =
python -c "from flit_core.buildapi import build_wheel;\
from tempfile import mkdtemp;\
build_wheel(mkdtemp())"