From a67ec287d158eb9a44c27f3400fd233591d4dd09 Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Thu, 18 Apr 2024 11:23:34 +0200 Subject: [PATCH] Restrict sqlite3 for the extension generator The task itself is fine, as it inherits from Rails' app generator, which has the sqlite3 restriction: https://github.com/rails/rails/blob/main/railties/lib/rails/generators/database.rb#L19. --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 23395200849..640f7d3021f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -224,7 +224,8 @@ commands: cd /tmp/dummy_extension bundle init bundle add rails -v "< 7.1" --skip-install - bundle add sqlite3 <> --skip-install + bundle add sqlite3 -v "~> 1.3" --skip-install + if [ -n <>]; then bundle add <> --skip-install; fi bundle add solidus --path "$(ruby -e"puts File.expand_path ENV['CIRCLE_WORKING_DIRECTORY']")" export LIB_NAME=set # dummy requireable file bundle exec rake -rrails -rspree/testing_support/extension_rake -e'Rake::Task["extension:test_app"].invoke'