Debian Codegraph @

tox.ini

raw
1 [tox]
2 envlist = py{315,314,313,312,311,310,39,38},bootstrap
3 skip_missing_interpreters = true
4
5 [gh-actions]
6 python =
7 3.8: py38, bootstrap
8 3.9: py39
9 3.10: py310
10 3.11: py311
11 3.12: py312
12 3.13: py313
13 3.14: py314
14 3.15: py315
15
16 [testenv]
17 deps =
18 requests
19 testpath
20 responses
21 docutils
22 tomli;python_version < "3.11"
23 tomli-w
24 pytest>=2.7.3
25 pytest-cov
26
27 skip_install=true
28
29 setenv =
30 PYTHONPATH = flit_core
31
32 commands =
33 python -m pytest --cov=flit --cov=flit_core/flit_core {posargs}
34
35 [testenv:bootstrap]
36 skip_install = true
37 # Make the install step a no-op, so nothing gets installed in the env
38 install_command = true {packages}
39 allowlist_externals = true
40 changedir = flit_core
41 commands =
42 python -c "from flit_core.buildapi import build_wheel;\
43 from tempfile import mkdtemp;\
44 build_wheel(mkdtemp())"