3b410b1
From c9f9b09140a0921694432ad33ad542a7e8a37894 Mon Sep 17 00:00:00 2001
3b410b1
From: Terje Rosten <terje.rosten@ntnu.no>
3b410b1
Date: Thu, 13 Apr 2023 19:01:57 +0200
3b410b1
Subject: [PATCH] Add missing tox.ini file
3b410b1
3b410b1
---
3b410b1
 tox.ini | 26 ++++++++++++++++++++++++++
3b410b1
 1 file changed, 26 insertions(+)
3b410b1
 create mode 100644 tox.ini
3b410b1
3b410b1
diff --git a/tox.ini b/tox.ini
3b410b1
new file mode 100644
3b410b1
index 0000000..f793655
3b410b1
--- /dev/null
3b410b1
+++ b/tox.ini
3b410b1
@@ -0,0 +1,26 @@
3b410b1
+[tox]
3b410b1
+env_list =
3b410b1
+    py{36, 37, 38, 39, 310, 311},bare,docs
3b410b1
+minversion = 3.28.0
3b410b1
+skip_missing_interpreters = true
3b410b1
+
3b410b1
+[testenv]
3b410b1
+package = wheel
3b410b1
+wheel_build_env = .pkg
3b410b1
+description = run the tests with all dependencies installed
3b410b1
+deps = lxml
3b410b1
+     html5lib
3b410b1
+     soupsieve>=1.2
3b410b1
+     pytest>=6
3b410b1
+commands = pytest {tty:--color=yes} {posargs}
3b410b1
+
3b410b1
+[testenv:docs]
3b410b1
+basepython = python3
3b410b1
+description = build the documentation
3b410b1
+deps = sphinx
3b410b1
+commands = sphinx-build -b html doc/source doc/build/html
3b410b1
+
3b410b1
+[testenv:bare]
3b410b1
+description = run the tests on the oldest supported version of Python, without any dependencies installed
3b410b1
+basepython = python3.6
3b410b1
+deps = pytest>=6
3b410b1
-- 
3b410b1
2.39.2
3b410b1