Skip to content

Commit

Permalink
Codecov tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Mar 9, 2016
1 parent 0b32fa1 commit f014429
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions coverage.conf → .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ exclude_lines =
pragma: no cover
if __name__ == .__main__.:

# General support infrastructure (third-party libs, testing machinery)
# that we don't bother covering.
omit =
*/__main__.py
llvmlite/enum.py
llvmlite/six.py
llvmlite/_version.py
llvmlite/tests/customize.py

[html]
2 changes: 1 addition & 1 deletion run_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# otherwise some lines will be missed.
config_file = os.path.join(
os.path.dirname(os.path.dirname(__file__)),
'coverage.conf')
'.coveragerc')
os.environ['COVERAGE_PROCESS_START'] = config_file
cov = coverage.coverage(config_file=config_file)
cov.start()
Expand Down

0 comments on commit f014429

Please sign in to comment.