1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-08 07:30:19 +02:00

Tests should not depend on Matrix-nio, that uses lxml that needs a lot of dependencies and a lot of time to build

This commit is contained in:
Yohann D'ANELLO
2020-11-03 20:52:55 +01:00
parent 1ddf39f296
commit 04dd02b88a
11 changed files with 110 additions and 85 deletions

15
tox.ini
View File

@ -7,10 +7,21 @@ envlist =
skipsdist = True
[testenv]
sitepackages = True
sitepackages = False
deps =
-r{toxinidir}/requirements.txt
coverage
Django~=3.1
django-bootstrap-datepicker-plus~=3.0
django-cas-server~=1.2
django-crispy-forms~=1.9
django-filter~=2.3
django-haystack~=3.0
django-polymorphic~=3.0
django-tables2~=2.3
djangorestframework~=3.12
django-rest-polymorphic~=0.1
python-magic~=0.4
whoosh~=2.7
commands =
coverage run --source=apps,corres2math ./manage.py test apps/ corres2math/
coverage report -m