]> git.netwichtig.de Git - user/henk/code/python/learn_python.git/commitdiff
add tox config file wip/adding_first_tests
authorHendrik Jäger <gitcommit@henk.geekmail.org>
Wed, 2 Aug 2023 13:20:43 +0000 (15:20 +0200)
committerHendrik Jäger <gitcommit@henk.geekmail.org>
Wed, 2 Aug 2023 13:20:43 +0000 (15:20 +0200)
tox.ini [new file with mode: 0644]

diff --git a/tox.ini b/tox.ini
new file mode 100644 (file)
index 0000000..f88ea10
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,13 @@
+[tox]
+env_list =
+    py311
+minversion = 4.6.4
+
+[testenv]
+description = run the tests with pytest
+package = wheel
+wheel_build_env = .pkg
+deps =
+    pytest>=6
+commands =
+    pytest {tty:--color=yes} {posargs}