From 39c30a5565e01c65e7c095878c1d63346436a0aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 24 Nov 2021 09:57:10 +0100 Subject: Fix testing with Tox + Poetry Isolated builds are necessary now, and `poetry install` no longer takes `--dev --deploy` options. --- tox.ini | 5 +++-- 1 file 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] -- cgit v1.2.1