1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/runtests

15 lines
322 B
Text
Raw Normal View History

2015-10-19 13:04:49 +01:00
#!/usr/bin/env bash
set -e
export PATH=env/bin:${PATH}
2016-01-09 21:00:08 +00:00
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"
2016-01-09 21:00:08 +00:00
coverage html
coverage report
echo "All Python tests passed!"
2015-11-23 14:33:03 +00:00
2016-01-09 21:00:08 +00:00
npm test