add codecov to cucumber test runs, too.

This commit is contained in:
Micah Geisel 2020-04-24 12:50:37 -07:00
parent 44715f76d5
commit 281d591cc8

View file

@ -1,4 +1,18 @@
require 'rspec/expectations'
if ENV['COVERAGE'] == 'true'
require "simplecov"
if ENV['CI'] == 'true'
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
puts "required codecov"
end
SimpleCov.start
puts "required simplecov"
end
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
require 'database_cleaner-core'
require 'rspec/expectations'