Skip to content

Commit

Permalink
Restrict sqlite3 for the extension generator
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mamhoff committed Apr 18, 2024
1 parent 4319e17 commit e85fd4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ commands:
cd /tmp/dummy_extension
bundle init
bundle add rails -v "< 7.1" --skip-install
bundle add sqlite3 <<parameters.extra_gems>> --skip-install
bundle add sqlite3 -v "~> 1.3" --skip-install
test -n "<<parameters.extra_gems>>" && bundle add <<parameters.extra_gems>> --skip-install
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'
Expand Down

0 comments on commit e85fd4c

Please sign in to comment.