summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2022-09-03 20:52:36 +0300
committerIvan Kanakarakis <ivan.kanak@gmail.com>2022-10-01 18:12:31 +0300
commite75ea4bb6d44a6d92df9d8bf76c425248c33229b (patch)
tree9ff54dde8396eacde26d6257264c447ea4211a86 /tox.ini
parent3bd49cf9a90abb63e37ab9e5c07e52c61418b095 (diff)
downloadpysaml2-e75ea4bb6d44a6d92df9d8bf76c425248c33229b.tar.gz
test: Update tox, pytest and coverage commands
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini20
1 files changed, 10 insertions, 10 deletions
diff --git a/tox.ini b/tox.ini
index dbaca41e..ad3a44a7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,22 +1,22 @@
[tox]
+isolated_build = true
envlist =
py36
py37
py38
py39
py310
- pypy3
[testenv]
-deps = -r tests/test-requirements.txt
+skip_install = true
whitelist_externals =
- tox
xmlsec1
-commands =
+ poetry
+commands_pre =
+ poetry install --with test,coverage
xmlsec1 --version
- python --version
- pytest --version
- tox --version
- pip --version
- pip freeze
- pytest --cov={envsitepackagesdir}/saml2 -vvv -ra {posargs:tests/}
+ poetry run python --version
+ poetry run pytest --version
+ poetry run tox --version
+commands =
+ poetry run pytest --import-mode=importlib --cov=saml2 --cov-report=term-missing