forked from AFPy/PonyConf
13 lines
295 B
Bash
13 lines
295 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
. venv/bin/activate
|
||
|
|
||
|
which coverage >/dev/null 2>&1
|
||
|
if [ "$?" -ne 0 ]; then
|
||
|
pip install coverage
|
||
|
fi
|
||
|
|
||
|
coverage run --branch --source=accounts,ponyconf,proposals,conversations --omit=*/migrations/*,*/apps.py,ponyconf/wsgi.py manage.py test
|
||
|
coverage html
|
||
|
xdg-open htmlcov/index.html
|