covered_percent
This commit is contained in:
parent
251c13c7f6
commit
1faf8632d3
@ -20,9 +20,8 @@ class CoverageReport
|
|||||||
end
|
end
|
||||||
|
|
||||||
def lcov(report_path, data)
|
def lcov(report_path, data)
|
||||||
Dir.entries '/github/workspace'
|
|
||||||
lcov = LcovParse.new(File.read("/github/workspace/#{report_path}"))
|
lcov = LcovParse.new(File.read("/github/workspace/#{report_path}"))
|
||||||
{ 'lines' => { 'covered_percent' => 4, 'minumum_percent' => data[:min] } }
|
{ 'lines' => { 'covered_percent' => lcov.covered_percent, 'minumum_percent' => data[:min] } }
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Reference in New Issue
Block a user