diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2021-11-24 09:57:10 +0100 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2021-11-24 09:57:39 +0100 |
commit | 39c30a5565e01c65e7c095878c1d63346436a0aa (patch) | |
tree | fd44b84c0fb1733f8132e0a1dc3db6c2f6e40885 | |
parent | fe4db61438dac790ff53696decb53a8dfa9acf56 (diff) | |
download | rsa-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.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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] |