From 415d83acc7cce91ecffe62f453aa77d027d9be69 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 25 Feb 2024 19:14:00 +0100 Subject: [PATCH] Read tox dependencies from requirements.txt file Signed-off-by: Emmy D'Anello --- tox.ini | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/tox.ini b/tox.ini index 01c220e..aa524c4 100644 --- a/tox.ini +++ b/tox.ini @@ -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