summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..01da58f
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+skipsdist = true
+envlist = py310, py311, py312
+
+[gh-actions]
+python =
+ 3.10: py310
+ 3.11: py311
+ 3.12: py312
+
+[testenv]
+passenv = PYTHON_VERSION
+allowlist_externals = poetry
+commands =
+ poetry install -v
+ pytest --doctest-modules tests --cov --cov-config=pyproject.toml --cov-report=xml
+ mypy