summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini18
1 files changed, 18 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..d45c3e2
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,18 @@
+[tox]
+isolated_build = true
+envlist = py37, py38, py39, py310, pypy3
+
+[testenv]
+whitelist_externals = poetry
+commands =
+ poetry install -v
+ poetry run pytest tests/
+
+[testenv:pypy]
+whitelist_externals =
+ bash
+ poetry
+skip_install = true
+commands =
+ poetry install -v
+ poetry run pytest tests/