Skip to content

Commit

Permalink
fix: coverage issue (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
mumarkhan999 authored Jul 14, 2023
1 parent 9049a74 commit aa649e9
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit aa649e9

Please sign in to comment.