Skip to content

Commit

Permalink
Merge pull request #102 from tvdeyen/update-ci-matrix
Browse files Browse the repository at this point in the history
Update build matrix
  • Loading branch information
tvdeyen authored Dec 29, 2023
2 parents 0b06e17 + 8f8c716 commit ff38c74
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
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

0 comments on commit ff38c74

Please sign in to comment.