Configure tox to run tests

master
Yury Kurlykov 2020-06-28 17:54:53 +10:00
parent 26dbd6ee10
commit 6e910b77b2
Signed by: t1meshift
GPG Key ID: B133F3167ABF94D8
1 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
[pytest]
envlist = py37,py38
[tox]
skipsdist = true
[testenv]
changedir = tests
#changedir = tests
deps =
-rrequirements.txt
pytest
commands =
# Any commands go here
pytest --basetemp="{envtmpdir}" {posargs}
python -m pytest -s --basetemp="{envtmpdir}" {posargs}