Sha256: e4b3f8b8644cebf049decfbe43bd7b490ced7172428fe6e78e2898c2fc40ffc7

Contents?: true

Size: 448 Bytes

Versions: 3

Compression:

Stored size: 448 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

3 entries across 3 versions & 1 rubygems

Version Path
jt_tools-0.0.5 lib/install/.simplecov
jt_tools-0.0.4 lib/install/.simplecov
jt_tools-0.0.3 lib/install/.simplecov