Skip to content

Commit

Permalink
Disable logging in CI (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
santib authored Nov 26, 2024
1 parent 0699838 commit 9402748
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,10 @@

# Use test adapter for ActiveJob
config.active_job.queue_adapter = :test

# Disable logging in CI to improve run time by 10%
if ENV['CI'].present?
config.logger = Logger.new(nil)
config.log_level = :fatal
end
end

0 comments on commit 9402748

Please sign in to comment.