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