retrospring/spec/support/simplecov.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
207 B
Ruby
Raw Normal View History

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