mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Disable code coverage by default
We can activate it on demand: COVERAGE=1 bundle exec rspec We often run specs in chunks but simplecov needs all tests to be run.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
unless !!ENV['CI']
|
||||
if ENV["COVERAGE"]
|
||||
require 'simplecov'
|
||||
|
||||
SimpleCov.minimum_coverage 54
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
unless ENV['CI']
|
||||
if ENV["COVERAGE"]
|
||||
require 'simplecov'
|
||||
SimpleCov.start 'rails'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user