Commit b54f0557 authored by David Haynes's avatar David Haynes

Add in an absurd number of omits

- all the .py files we do not test
parent 27e5a214
......@@ -31,12 +31,12 @@ Go-py2.7:
image: library/python:2.7
type: test
script:
- python manage.py test
- python manage.py test
Go-py3.6:
image: library/python:3.6
type: test
script:
- pip install coverage
- coverage run --source=go --omit=*migrations/* manage.py test
- coverage run --source=go --omit=*migrations/*,*admin.py,*manage.py,*wsgi.py,*settings.py,*secret.py,*__init__.py,*.pyc,*templates/*,*static/* manage.py test
- coverage html -i && grep pc_cov htmlcov/index.html | egrep -o "[0-9]+\%" | awk '{ print "covered " $1;}'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment