1
0
Fork 0
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:
Kasper Timm Hansen 2019-04-17 01:10:45 +02:00
parent f0b2a60536
commit 99c520ac4a
No known key found for this signature in database
GPG key ID: 191153215EDA53D8

View file

@ -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__)