File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 @@ -95,14 +95,17 @@ In local\_settings.py add entries to set EMAIL\_HOST to 'localhost' and EMAIL\_P
9595
9696# Running tests and coverage
9797
98+ Install the test dependencies:
99+
100+ pip install -r requirements_text.txt
101+
98102To the unittests execute the following commands:
99103
100104 ./manage.py collectstatic --noinput
101105 ./manage.py test
102106
103107Running coverage:
104108
105- pip install coverage
106109 coverage run --omit='env*' --source='.' manage.py test
107110 coverage report
108111
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