Add separate coverage config file.

This commit is contained in:
Christopher Charbonneau Wells 2017-11-11 17:02:47 -05:00
parent 5dec231147
commit 151f48a695
3 changed files with 14 additions and 1 deletions

13
.coveragerc Normal file
View File

@ -0,0 +1,13 @@
[run]
omit =
babybuddy/settings/*
babybuddy/wsgi.py
source =
api
babybuddy
core
dashboard
reports
[html]
directory = htmlcov

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# coverage
.coverage
/htmlcov
# database
*.sqlite3

View File

@ -16,7 +16,6 @@ gulp.task('coverage', function(cb) {
'run',
'coverage',
'run',
'--source=api,core,dashboard,reports',
'manage.py',
'test'
],