Skip to content

Commit 4ff2203

Browse files
print python coverage results to console (#331)
* print coverage results to console Signed-off-by: Mikael Arguedas <[email protected]> * reorder to match order in pytest docs Co-authored-by: Dirk Thomas <[email protected]>
1 parent 8922b7c commit 4ff2203

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

colcon_core/task/python/test/pytest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ async def step(self, context, env, setup_py_data): # noqa: D102
8686
args += [
8787
'--cov=' + str(PurePosixPath(
8888
*(Path(context.args.path).parts))),
89+
'--cov-report=term',
8990
'--cov-report=html:' + str(PurePosixPath(
9091
*(Path(context.args.build_base).parts)) /
9192
'coverage.html'),

0 commit comments

Comments
 (0)