Fix test infra depending on CI=true

The CI env var was recently [changed][1] to be specific for the
application being tested instead of the framework tests. Because of
this, these lines which should have been true before are now false.

[1]: 1f0262aa2b768b14de5e6ef29d0e547628f570ee
This commit is contained in:
Hartley McGuire 2023-11-27 17:39:03 -05:00
parent c4fbb0fe89
commit 3d002c1947
No known key found for this signature in database
GPG Key ID: E823FC1403858A82
2 changed files with 1 additions and 3 deletions

@ -28,7 +28,7 @@ def warn(message, *)
return unless message.include?(PROJECT_ROOT)
return if ALLOWED_WARNINGS.match?(message)
return unless ENV["RAILS_STRICT_WARNINGS"] || ENV["CI"]
return unless ENV["RAILS_STRICT_WARNINGS"] || ENV["BUILDKITE"]
raise message
end

@ -5,9 +5,7 @@
ENV.delete("CI") # CI has affect on the applications, and we don't want it applied to the apps.
Minitest::Ci.report_dir = File.join(__dir__, "../test-reports/#{ENV['BUILDKITE_JOB_ID']}")
end
if ENV["CI"]
module DisableSkipping # :nodoc:
private
def skip(message = nil, *)