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

Update build matrix #102

Merged
merged 2 commits into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- "3.3"
alchemy:
- "7.0"
- "main"
- "7.1.0-b1"
solidus:
- "4.0"
- "4.1"
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ alchemy_version = ENV.fetch("ALCHEMY_VERSION", "main")
if alchemy_version == "main"
gem "alchemy_cms", github: "AlchemyCMS/alchemy_cms", branch: "main"
else
gem "alchemy_cms", "~> #{alchemy_version}.0"
gem "alchemy_cms", "~> #{alchemy_version}"
end

gem "alchemy-devise", github: "AlchemyCMS/alchemy-devise", branch: "main"
Expand Down
17 changes: 2 additions & 15 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,12 @@ RSpec::Core::RakeTask.new(:spec)

task default: %i[test_setup spec]

require "active_support/core_ext/string"

desc "Setup test app"
task :test_setup do
solidus_version = ENV.fetch("SOLIDUS_VERSION", "4.2")
solidus_32_install_options =
"--payment-method none --frontend none --no-with-authentication"
solidus_33_install_options =
"--payment-method none --frontend none --authentication none"
solidus_install_options =
(
if solidus_version == "3.2"
solidus_32_install_options
else
solidus_33_install_options
end
)
solidus_install_options = "--payment-method none --frontend none --authentication none"
Dir.chdir("spec/dummy") do
system <<-SETUP.strip_heredoc
system <<~SETUP
bin/rake db:environment:set db:drop && \
bin/rake gutentag:install:migrations && \
bin/rails g gutentag:migration_versions && \
Expand Down