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