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
2016-01-09 21:00:08 +00:00

14 lines
322 B
Bash
Executable file

#!/usr/bin/env bash
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