Retrospring/spec/support/simplecov.rb

10 lines
207 B
Ruby
Raw Normal View History

2020-04-19 12:47:19 -07:00
# frozen_string_literal: true
require "simplecov"
SimpleCov.start "rails"
2020-04-30 11:12:13 -07:00
2020-05-01 01:13:42 -07:00
if ENV.key?("GITHUB_ACTIONS")
require "simplecov-cobertura"
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
2020-04-30 11:12:13 -07:00
end