@ -0,0 +1,15 @@
[report]
omit =
app/app/wsgi.py
app/classifier/*
app/server/migrations/*
app/server/templatetags/*
app/server/tests/*
exclude_lines =
pragma: no cover
if __name__ == .__main__.
def __str__
raise NotImplementedError
fail_under = 90
@ -8,5 +8,6 @@ app/server/webpack-stats.json
!data/
!tests/
!tools/
!.coveragerc
!.flake8
!requirements.txt
@ -1,4 +1,5 @@
applicationinsights==0.11.7
coverage==4.5.3
dj-database-url==0.5.0
Django==2.1.7
django-filter==2.0.0
@ -5,6 +5,7 @@ set -o errexit
flake8
python app/manage.py migrate
python app/manage.py collectstatic
python app/manage.py test server.tests
coverage run --source=app app/manage.py test server.tests
coverage report
(cd app/server && npm run lint)