File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ async function mergeCoverages(coverageFiles, tmpPath) {
9191 args . push ( '--output-file' ) ;
9292 args . push ( mergedCoverageFile ) ;
9393
94- await exec . exec ( 'lcov' , args ) ;
94+ await exec . exec ( 'lcov' , [ ... args , '--rc' , 'lcov_branch_coverage=1' ] ) ;
9595
9696 return mergedCoverageFile ;
9797}
@@ -112,6 +112,8 @@ async function summarize(coverageFile) {
112112 await exec . exec ( 'lcov' , [
113113 '--summary' ,
114114 coverageFile ,
115+ '--rc' ,
116+ 'lcov_branch_coverage=1'
115117 ] , options ) ;
116118
117119 const lines = output
@@ -140,6 +142,8 @@ async function detail(coverageFile, octokit) {
140142 '--list' ,
141143 coverageFile ,
142144 '--list-full-path' ,
145+ '--rc' ,
146+ 'lcov_branch_coverage=1' ,
143147 ] , options ) ;
144148
145149 let lines = output
You can’t perform that action at this time.
0 commit comments