Sha256: 4c1500fc44e7d2bf3c356221082d4bfc5595a7ff6facddb61789b6bd29f30dde
Contents?: true
Size: 440 Bytes
Versions: 8
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true if defined?(Spring) && ENV["DISABLE_SPRING"].nil? puts "**** NO COVERAGE FOR YOU! ****" puts "Please disable Spring to get COVERAGE by `DISABLE_SPRING=1 COVERAGE=1 bin/rspec`" else SimpleCov.start "rails" do add_filter %w[app/views bin spec test] maximum_coverage_drop 0.5 end if ENV["CODECOV_TOKEN"] require "codecov" SimpleCov.formatter = SimpleCov::Formatter::Codecov end end
Version data entries
8 entries across 8 versions & 1 rubygems