1
Fork 0

Run Django tests with coverage

This commit is contained in:
Jake Howard 2020-04-12 15:46:37 +01:00
parent ebfbc3f285
commit a57262ec5e
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 6 additions and 0 deletions

View file

@ -9,3 +9,4 @@ flake8-builtins==1.5.2
flake8-comprehensions==3.2.2
flake8-mutable==1.2.0
flake8-tuple==0.4.1
coverage==5.0.4

View file

@ -4,6 +4,8 @@ set -e
export PATH=env/bin:${PATH}
coverage run manage.py test $@
echo "> Running formatter..."
black website/ --check

View file

@ -14,3 +14,6 @@ force_grid_wrap=0
use_parentheses=True
line_length=88
not_skip=__init__.py
[coverage:run]
source = "website"