Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Raise Rails 7.2 deprecations #6009

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
CI: Eager Load classes before tests
This is the Rails default.

From the docs

> Eager loading loads your whole application. When running a single test locally,
> this probably isn't necessary. It's a good idea to do in a continuous integration
> system, or in some way before deploying your code.
  • Loading branch information
tvdeyen committed Dec 5, 2024
commit c333192442c251aeb5ea71df51685c83302ead6c
2 changes: 1 addition & 1 deletion core/lib/spree/testing_support/dummy_app.rb
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ class Application < ::Rails::Application
config.log_level = :debug

# Improve test suite performance:
config.eager_load = false
config.eager_load = ENV['CI'].present?
config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
config.cache_store = :memory_store

Loading