summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2021-11-24 09:57:10 +0100
committerSybren A. Stüvel <sybren@stuvel.eu>2021-11-24 09:57:39 +0100
commit39c30a5565e01c65e7c095878c1d63346436a0aa (patch)
treefd44b84c0fb1733f8132e0a1dc3db6c2f6e40885
parentfe4db61438dac790ff53696decb53a8dfa9acf56 (diff)
downloadrsa-git-39c30a5565e01c65e7c095878c1d63346436a0aa.tar.gz
Fix testing with Tox + Poetry
Isolated builds are necessary now, and `poetry install` no longer takes `--dev --deploy` options.
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 62bd0f7..17e60b2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,7 @@
[tox]
# Environment changes have to be manually synced with '.travis.yml'.
-envlist = py36,p37,p38,p39,py310
+envlist = py36,py37,py38,py39,py310
+isolated_build = True
[pytest]
addopts = -v --cov rsa --cov-report term-missing
@@ -8,7 +9,7 @@ addopts = -v --cov rsa --cov-report term-missing
[testenv]
deps = poetry
commands =
- poetry install --dev --deploy
+ poetry install
poetry run py.test tests/
[testenv:py37]