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

17 lines
329 B
Bash
Executable File

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