lcov report path
This commit is contained in:
parent
5d3df49d00
commit
ee391c84c4
@ -20,6 +20,9 @@ class CoverageReport
|
|||||||
end
|
end
|
||||||
|
|
||||||
def lcov(report_path, data)
|
def lcov(report_path, data)
|
||||||
|
puts `ls /github/workspace`
|
||||||
|
puts `ls /github/home`
|
||||||
|
puts `ls /github/workflow`
|
||||||
lcov = LcovParse.new(File.read("/github/workspace/#{report_path}"))
|
lcov = LcovParse.new(File.read("/github/workspace/#{report_path}"))
|
||||||
{ 'lines' => { 'covered_percent' => lcov.covered_percent, 'minumum_percent' => data[:min] } }
|
{ 'lines' => { 'covered_percent' => lcov.covered_percent, 'minumum_percent' => data[:min] } }
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user