Skip to content

Commit b6db3b7

Browse files
committed
build: show the total during local metacov
1 parent cfbceb5 commit b6db3b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

igor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,9 @@ def do_combine_html():
240240
show_contexts = bool(
241241
os.getenv("COVERAGE_DYNCTX") or os.getenv("COVERAGE_CONTEXT"),
242242
)
243-
cov.html_report(show_contexts=show_contexts)
243+
total = cov.html_report(show_contexts=show_contexts)
244244
cov.json_report(show_contexts=show_contexts, pretty_print=True)
245+
print(f"Total: {total:.3f}%")
245246

246247

247248
def do_test_with_core(core, *runner_args):

0 commit comments

Comments
 (0)