<NME> tox.ini
<BEF> [tox]
envlist = py{37,38,39}

[testenv]
changedir = test_project
commands =
    python ../tests.py
    coverage run --source modoboa manage.py test modoboa.core modoboa.lib modoboa.admin modoboa.limits modoboa.transport modoboa.relaydomains modoboa.dnstools modoboa.ldapsync

    coverage report --show-missing
deps =
    -r{toxinidir}/requirements.txt
    -r{toxinidir}/test-requirements.txt
    coverage
    postgres: -r{toxinidir}/postgresql-requirements.txt
    mysql: -r{toxinidir}/mysql-requirements.txt
setenv =
    COVERAGE_FILE={envdir}/.coverage
    DB=SQLITE

[testenv:serve]
changedir = test_project
whitelist_externals =
    rm
    DJANGO_SETTINGS_MODULE=test_project.settings
    DB=SQLITE
    DEBUG=1
    Pygments
whitelist_externals =
    rm
commands =
    rm -Rf {envtmpdir}/doctrees {envtmpdir}/html
    sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

<MSG> call #911 - add contributing to help and contributors who have helped

<DFF> @@ -25,3 +25,14 @@ setenv =
     DJANGO_SETTINGS_MODULE=test_project.settings
     DB=SQLITE
     DEBUG=1
+
+[testenv:doc]
+changedir = doc
+deps =
+    sphinx
+    Pygments
+whitelist_externals =
+    rm
+commands =
+    rm -Rf {envtmpdir}/doctrees {envtmpdir}/html
+    sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

call #911 - add contributing to help and contributors who have helped