read from github workspace

This commit is contained in:
miguemasx 2020-03-17 02:48:02 +01:00
parent 2ada319a08
commit 251c13c7f6

View File

@ -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