File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: python
33python :
44 - " 3.7"
55cache : pip
6- install : " pip install -r requirements.txt && pip install coveralls pylint pytest pytest-cov pytest-django "
6+ install : " pip install -r requirements.txt && pip install -r requirements_test.txt "
77
88script :
99 - make collectstatic
Original file line number Diff line number Diff line change @@ -94,14 +94,17 @@ In local\_settings.py add entries to set EMAIL\_HOST to 'localhost' and EMAIL\_P
9494
9595# Running tests and coverage
9696
97+ Install the test dependencies:
98+
99+ pip install -r requirements_text.txt
100+
97101To the unittests execute the following commands:
98102
99103 ./manage.py collectstatic --noinput
100104 ./manage.py test
101105
102106Running coverage:
103107
104- pip install coverage
105108 coverage run --omit='env*' --source='.' manage.py test
106109 coverage report
107110
Original file line number Diff line number Diff line change 1+ coveralls
2+ pylint
3+ pytest
4+ pytest-cov
5+ pytest-django
6+
You can’t perform that action at this time.
0 commit comments