lcov report path

This commit is contained in:
miguemasx 2020-03-17 01:24:43 +01:00
parent 5d3df49d00
commit ee391c84c4

View File

@ -20,6 +20,9 @@ class CoverageReport
end
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}"))
{ 'lines' => { 'covered_percent' => lcov.covered_percent, 'minumum_percent' => data[:min] } }
end