mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Only retry tests on CI
This commit is contained in:
parent
f0b2a60536
commit
99c520ac4a
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ require "active_support/testing/method_call_assertions"
|
|||
require "active_support/test_case"
|
||||
require "minitest/retry"
|
||||
|
||||
Minitest::Retry.use!(verbose: false, retry_count: 1)
|
||||
if ENV["BUILDKITE"]
|
||||
Minitest::Retry.use!(verbose: false, retry_count: 1)
|
||||
end
|
||||
|
||||
RAILS_FRAMEWORK_ROOT = File.expand_path("../../..", __dir__)
|
||||
|
||||
|
|
Loading…
Reference in a new issue