Skip to content

Commit

Permalink
- Improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Oct 9, 2018
1 parent 671455d commit b7825ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ comment:

ignore:
- */management/*
- geonode/contrib/*
- */test*
- */wsgi*
- */middleware*
- */context_processors*
- geonode/qgis_server/*
- geonode/contrib/*
- geonode/upload/*
3 changes: 2 additions & 1 deletion pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,8 @@ def run_tests(options):
Executes the entire test suite.
"""
if options.get('coverage'):
prefix = 'coverage run --branch --source=geonode --omit="*/management/*,geonode/contrib/*,*/test*,*/wsgi*,*/middleware*,geonode/qgis_server/*"'
prefix = 'coverage run --branch --source=geonode \
--omit="*/management/*,*/test*,*/wsgi*,*/middleware*,*/context_processors*,geonode/qgis_server/*,geonode/contrib/*,geonode/upload/*"'
else:
prefix = 'python'
local = options.get('local', 'false') # travis uses default to false
Expand Down

0 comments on commit b7825ca

Please sign in to comment.