1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

Add tests docs to CI and fix docs warning

This commit is contained in:
Adam Dobrawy 2020-10-14 00:26:57 +02:00
parent 225da2155f
commit 62db0c55c2
6 changed files with 20 additions and 10 deletions

View file

@ -22,6 +22,14 @@ commands=
python {toxinidir}/manage.py makemigrations --check --dry-run
python -Wd manage.py test -v2 {posargs}
[testenv:docs]
deps=
sphinx
-r{toxinidir}/rtd_requirements.txt
commands=make html clean SPHINXOPTS="-W --keep-going"
changedir={toxinidir}/docs
allowlist_externals=make
[testenv:flake8]
deps=flake8
commands=flake8 django_mailbox