add coverage
This commit is contained in:
9
.coveragerc
Normal file
9
.coveragerc
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[run]
|
||||||
|
omit = */urls/*
|
||||||
|
*/__init__.py
|
||||||
|
*/tests.py
|
||||||
|
*/migrations/*
|
||||||
|
*urls.py
|
||||||
|
/usr/local/lib/*
|
||||||
|
/usr/lib/*
|
||||||
|
utils/xss_filter.py
|
||||||
@@ -10,4 +10,5 @@ install:
|
|||||||
- python manage.py initadmin
|
- python manage.py initadmin
|
||||||
script:
|
script:
|
||||||
- flake8 .
|
- flake8 .
|
||||||
- python manage.py test
|
- coverage run manage.py test
|
||||||
|
- coverage report
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ jsonfield
|
|||||||
otpauth
|
otpauth
|
||||||
flake8-quotes
|
flake8-quotes
|
||||||
pytz
|
pytz
|
||||||
|
coverage
|
||||||
|
|||||||
Reference in New Issue
Block a user