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.
static-share/runtests

17 lines
329 B
Text
Raw Permalink Normal View History

2016-09-05 08:36:06 +01:00
#!/usr/bin/env bash
set -e
TEST_ARGS=$@
export PATH=env/bin:${PATH}
export IN_TEST=true
coverage run --source=project --omit='*/wsgi.py,*/settings.py,*/migrations/*.py,*__init__*,*/tests.py' manage.py test $TEST_ARGS
flake8 project --ignore=E128,E501 --exclude="migrations,*/wsgi.py"
coverage report
coverage html
npm test