Skip to content

Commit

Permalink
Allow errors when generating coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
pvalsecc committed May 2, 2017
1 parent f81143b commit 5ea7a9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions c2cwsgiutils_coverage_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def main():
shutil.copytree(report_dir, dest_dir)
cov = coverage.Coverage(data_file='coverage', data_suffix=True, source=sources, branch=True)
cov.combine([dest_dir], strict=True)
cov.html_report(directory=dest_dir)
cov.xml_report(outfile=os.path.join(dest_dir, 'coverage.xml'))
cov.report()
cov.html_report(directory=dest_dir, ignore_errors=True)
cov.xml_report(outfile=os.path.join(dest_dir, 'coverage.xml'), ignore_errors=True)
cov.report(ignore_errors=True)

main()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages


VERSION = '0.10.0'
VERSION = '0.10.1'
HERE = os.path.abspath(os.path.dirname(__file__))
INSTALL_REQUIRES = open(os.path.join(HERE, 'rel_requirements.txt')).read().splitlines()

Expand Down

0 comments on commit 5ea7a9f

Please sign in to comment.