Setup tox

This commit is contained in:
Andras Schmelczer 2022-07-29 12:59:41 +02:00
parent 18c6ba62bb
commit 55f1599a7a
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
5 changed files with 37 additions and 7 deletions

13
tox.ini Normal file
View file

@ -0,0 +1,13 @@
[tox]
envlist = py37,py38,py39,py310
isolated_build = True
[testenv]
alwayscopy = True
setenv =
PY_IGNORE_IMPORTMISMATCH = 1
deps =
pytest
pytest-cov
pytest-asyncio
commands = pytest --doctest-modules --asyncio-mode=strict