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
3
3
python :
4
4
- " 3.7"
5
5
cache : 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 "
7
7
8
8
script :
9
9
- 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
95
95
96
96
# Running tests and coverage
97
97
98
+ Install the test dependencies:
99
+
100
+ pip install -r requirements_text.txt
101
+
98
102
To the unittests execute the following commands:
99
103
100
104
./manage.py collectstatic --noinput
101
105
./manage.py test
102
106
103
107
Running coverage:
104
108
105
- pip install coverage
106
109
coverage run --omit='env*' --source='.' manage.py test
107
110
coverage report
108
111
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