Skip to content

Commit f014429

Browse files
committed
Codecov tweaks
1 parent 0b32fa1 commit f014429

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

coverage.conf .coveragerc

+4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ exclude_lines =
99
pragma: no cover
1010
if __name__ == .__main__.:
1111

12+
# General support infrastructure (third-party libs, testing machinery)
13+
# that we don't bother covering.
1214
omit =
1315
*/__main__.py
1416
llvmlite/enum.py
1517
llvmlite/six.py
18+
llvmlite/_version.py
19+
llvmlite/tests/customize.py
1620

1721
[html]

run_coverage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# otherwise some lines will be missed.
2121
config_file = os.path.join(
2222
os.path.dirname(os.path.dirname(__file__)),
23-
'coverage.conf')
23+
'.coveragerc')
2424
os.environ['COVERAGE_PROCESS_START'] = config_file
2525
cov = coverage.coverage(config_file=config_file)
2626
cov.start()

0 commit comments

Comments
 (0)