From 879ddfac10643c746bd57fe3c03c8784df2e15da Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 9 Jan 2016 21:00:08 +0000 Subject: [PATCH] Added coverage --- runtests | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runtests b/runtests index 29278e1..67eb52f 100755 --- a/runtests +++ b/runtests @@ -4,7 +4,11 @@ set -e export PATH=env/bin:${PATH} +coverage run --source=project --omit='*/wsgi.py,*/settings.py,*/migrations/*.py,*__init__*' manage.py test $@ flake8 project --ignore=E128,E501,E401 --exclude="migrations,settings,*/wsgi.py" +coverage html +coverage report + echo "All Python tests passed!" -npm test \ No newline at end of file +npm test