Read tox dependencies from requirements.txt file

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-02-25 19:14:00 +01:00
parent eb7e7c1579
commit 415d83acc7
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 3 additions and 19 deletions

22
tox.ini
View File

@ -8,27 +8,11 @@ skipsdist = True
[testenv]
sitepackages = False
deps =
coverage
channels[daphne]~=4.0.0
crispy-bootstrap5~=2023.10
Django>=5.0,<6.0
django-crispy-forms~=2.1
django-filter~=23.5
git+https://github.com/django-haystack/django-haystack.git#v3.3b1
django-phonenumber-field~=7.3.0
django-polymorphic~=3.1.0
django-tables2~=2.7.0
djangorestframework~=3.14.0
django-rest-polymorphic~=0.1.10
odfpy~=1.4.1
phonenumbers~=8.13.27
pypdf~=3.17.4
python-magic~=0.4.27
requests~=2.31.0
deps = coverage
-r requirements.txt
commands =
python manage.py compilemessages
python manage.py compilemessages -i .tox -i venv
coverage run --source=api,draw,logs,participation,registration,tfjm ./manage.py test api/ draw/ logs/ participation/ registration/ tfjm/
coverage report -m