diff --git a/tox.ini b/tox.ini index 003f1c7c..b745d829 100644 --- a/tox.ini +++ b/tox.ini @@ -2,31 +2,30 @@ envlist = py38-django{32}-drf{312,latest}, quality, docs [testenv] -setenv = +setenv = PYTHONPATH = {toxinidir} -deps = +deps = -r{toxinidir}/requirements/test.txt django32: Django>=3.2,<4.0 drf312: djangorestframework>=3.12,<3.13 drflatest: djangorestframework -commands = - python -Wd -m pytest {posargs} +commands = + python -m pytest --cov {posargs} coverage report [testenv:quality] -setenv = +setenv = PYTHONPATH = {toxinidir} -whitelist_externals = +whitelist_externals = make -commands = +commands = make quality [testenv:docs] changedir = docs -deps = +deps = -r{toxinidir}/requirements/docs.txt -whitelist_externals = +whitelist_externals = make -commands = +commands = make html -