Added coverage
This commit is contained in:
parent
bb876541cc
commit
879ddfac10
1 changed files with 5 additions and 1 deletions
4
runtests
4
runtests
|
@ -4,7 +4,11 @@ set -e
|
||||||
|
|
||||||
export PATH=env/bin:${PATH}
|
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"
|
flake8 project --ignore=E128,E501,E401 --exclude="migrations,settings,*/wsgi.py"
|
||||||
|
coverage html
|
||||||
|
coverage report
|
||||||
|
|
||||||
echo "All Python tests passed!"
|
echo "All Python tests passed!"
|
||||||
|
|
||||||
npm test
|
npm test
|
Reference in a new issue