Commit 6347d1f5 authored by David Haynes's avatar David Haynes
Browse files

Prevent coverage from counting third party packages

- 39% is waayy too high
parent 27aa78f5
......@@ -32,7 +32,7 @@ test_Go:
- python manage.py migrate
- echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('root', 'root@srct.gmu.edu', 'root') " | python ./manage.py shell
script:
- python manage.py test
- coverage run ./manage.py test
- coverage html
- cd ..
- coverage run ./go/manage.py test
- coverage html --include=go/*.*
- 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