You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
329 B

#!/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