Sha256: 286c539ab5fc8e55ebd81c4a518bb926288d282269178eefd0e5717354e5a369

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

if ENV.fetch("COVERAGE", false)
  require "simplecov"

  if ENV["CIRCLE_ARTIFACTS"]
    dir = File.join(ENV["CIRCLE_ARTIFACTS"], "coverage")
    SimpleCov.coverage_dir(dir)
  end

  SimpleCov.start "rails"

  if defined?(Spring) && ENV["DISABLE_SPRING"].to_i == 1
    Rails.application.eager_load!
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
suspenders-20230113.0 templates/partials/ci_simplecov.rb
suspenders-1.56.1 templates/partials/ci_simplecov.rb
suspenders-1.55.1 templates/partials/ci_simplecov.rb
suspenders-1.55.0 templates/partials/ci_simplecov.rb