diff --git a/.circleci/config.yml b/.circleci/config.yml index 1e753503a88..699629127a7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,6 +14,7 @@ executors: environment: &environment DEFAULT_MAX_WAIT_TIME: 10 SOLIDUS_RAISE_DEPRECATIONS: true + RAILS_DEPRECATIONS_BEHAVIOR: raise CIRCLE_TEST_REPORTS: /tmp/test-results CIRCLE_ARTIFACTS: /tmp/test-artifacts BUNDLE_WITHOUT: "lint,release" @@ -374,7 +375,7 @@ workflows: { parameters: { - rails: ["7.0", "7.1", "7.2"], + rails: ["7.2"], ruby: ["3.1"], database: ["mysql"], paperclip: [true], @@ -386,8 +387,8 @@ workflows: { parameters: { - rails: ["7.0", "7.1", "7.2"], - ruby: ["3.1"], + rails: ["7.2"], + ruby: ["3.2"], database: ["postgres"], paperclip: [false], }, @@ -398,8 +399,8 @@ workflows: { parameters: { - rails: ["7.1"], - ruby: ["3.2"], + rails: ["7.2"], + ruby: ["3.3"], database: ["sqlite"], paperclip: [false], }, @@ -410,8 +411,8 @@ workflows: { parameters: { - rails: ["7.2", "main"], - ruby: ["3.3.5"], + rails: ["8.0"], + ruby: ["3.3"], database: ["sqlite"], paperclip: [false], }, diff --git a/core/lib/spree/testing_support/dummy_app.rb b/core/lib/spree/testing_support/dummy_app.rb index 7e2e7707f20..d703397b9ed 100644 --- a/core/lib/spree/testing_support/dummy_app.rb +++ b/core/lib/spree/testing_support/dummy_app.rb @@ -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