summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:26:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:26:28 +0000
commitbbbeb2d07d4f7fd0191032c219b40565fd83454f (patch)
tree3c08f1e09ed89a004867762ab40f3b610f6c0fa1 /tox.ini
parentInitial commit. (diff)
downloadflit-bbbeb2d07d4f7fd0191032c219b40565fd83454f.tar.xz
flit-bbbeb2d07d4f7fd0191032c219b40565fd83454f.zip
Adding upstream version 3.8.0.upstream/3.8.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tox.ini42
1 files changed, 42 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..df1f24d
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,42 @@
+[tox]
+envlist = py{311,310,39,38,37,36},bootstrap
+skip_missing_interpreters = true
+
+[gh-actions]
+python =
+ 3.6: py36
+ 3.7: py37
+ 3.8: py38, bootstrap
+ 3.9: py39
+ 3.10: py310
+ 3.11: py311
+
+[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
+
+[testenv:bootstrap]
+skip_install = true
+# Make the install step a no-op, so nothing gets installed in the env
+install_command = true {packages}
+whitelist_externals = true
+changedir = flit_core
+commands =
+ python -c "from flit_core.buildapi import build_wheel;\
+ from tempfile import mkdtemp;\
+ build_wheel(mkdtemp())"