mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
Switch coverage generation default to false, allow opt in with COVERAGE env var (#33824)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
ENV['RAILS_ENV'] ||= 'test'
|
||||
|
||||
unless ENV['DISABLE_SIMPLECOV'] == 'true'
|
||||
if ENV.fetch('COVERAGE', false)
|
||||
require 'simplecov'
|
||||
|
||||
SimpleCov.start 'rails' do
|
||||
|
||||
Reference in New Issue
Block a user