Disable simplecov on CircleCI (#7416)
* Disable simplecov on CircleCI * Remove --format progress
This commit is contained in:
parent
edf882320a
commit
ac788ad47e
|
@ -11,6 +11,7 @@ aliases:
|
||||||
RAILS_ENV: test
|
RAILS_ENV: test
|
||||||
PARALLEL_TEST_PROCESSORS: 4
|
PARALLEL_TEST_PROCESSORS: 4
|
||||||
ALLOW_NOPAM: true
|
ALLOW_NOPAM: true
|
||||||
|
DISABLE_SIMPLECOV: true
|
||||||
working_directory: ~/projects/mastodon/
|
working_directory: ~/projects/mastodon/
|
||||||
|
|
||||||
- &attach_workspace
|
- &attach_workspace
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
require 'simplecov'
|
|
||||||
|
|
||||||
GC.disable
|
GC.disable
|
||||||
|
|
||||||
|
if ENV['DISABLE_SIMPLECOV'] != 'true'
|
||||||
|
require 'simplecov'
|
||||||
SimpleCov.start 'rails' do
|
SimpleCov.start 'rails' do
|
||||||
add_group 'Services', 'app/services'
|
add_group 'Services', 'app/services'
|
||||||
add_group 'Presenters', 'app/presenters'
|
add_group 'Presenters', 'app/presenters'
|
||||||
add_group 'Validators', 'app/validators'
|
add_group 'Validators', 'app/validators'
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
gc_counter = -1
|
gc_counter = -1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue