Skip to content

Commit 67ee332

Browse files
committed
Move tox.ini config into pyproject.toml
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 7ae958a commit 67ee332

File tree

2 files changed

+26
-22
lines changed

2 files changed

+26
-22
lines changed

pyproject.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,29 @@ warn_unused_configs = true
245245
warn_unreachable = true
246246
install_types = true
247247
non_interactive = true
248+
249+
[tool.tox]
250+
legacy_tox_ini = """
251+
[tox]
252+
isolated_build = true
253+
envlist =
254+
py36
255+
py37
256+
py38
257+
py39
258+
py310
259+
260+
[testenv]
261+
skip_install = true
262+
whitelist_externals =
263+
xmlsec1
264+
poetry
265+
commands_pre =
266+
poetry install --with test,coverage
267+
xmlsec1 --version
268+
poetry run python --version
269+
poetry run pytest --version
270+
poetry run tox --version
271+
commands =
272+
poetry run pytest --import-mode=importlib --cov=saml2 --cov-report=term-missing
273+
"""

tox.ini

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)