Skip to content

Commit 493d76d

Browse files
authored
Merge pull request #132 from AlchemyCMS/solidus-4.6
Test Solidus 4.5 and 4.6
2 parents 6112aee + 2c0924a commit 493d76d

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
alchemy:
2424
- "8.0-stable"
2525
solidus:
26-
- "v4.4"
26+
- "v4.5"
27+
- "v4.6"
2728
env:
2829
ALCHEMY_BRANCH: ${{ matrix.alchemy }}
2930
SOLIDUS_BRANCH: ${{ matrix.solidus }}

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source "https://rubygems.org"
22

3-
solidus_branch = ENV.fetch("SOLIDUS_BRANCH", "v4.4")
3+
solidus_branch = ENV.fetch("SOLIDUS_BRANCH", "v4.6")
44
gem "solidus_core", github: "solidusio/solidus", branch: solidus_branch
55
gem "solidus_backend", github: "solidusio/solidus", branch: solidus_branch
66
gem "solidus_frontend", github: "solidusio/solidus_frontend", branch: "main"

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ desc "Setup test app"
1616
task :test_setup do
1717
solidus_branch = ENV.fetch("SOLIDUS_BRANCH", "v4.4")
1818
solidus_install_options = "--payment-method=none --frontend=none --authentication=none"
19-
if ["v4.3", "v4.4", "main"].include?(solidus_branch)
19+
if ["v4.5", "v4.6", "main"].include?(solidus_branch)
2020
solidus_install_options += " --admin-preview=false"
2121
end
2222
Dir.chdir("spec/dummy") do
2323
system <<~SETUP
2424
bin/rake db:environment:set db:drop && \
2525
bin/rake gutentag:install:migrations && \
2626
bin/rails g gutentag:migration_versions && \
27+
bin/rails g alchemy:devise:install --auto-accept --skip && \
2728
bin/rails g solidus:install --force --auto-accept --no-seed --no-sample #{solidus_install_options} && \
2829
bin/rails g solidus_frontend:install --force --auto-accept && \
2930
bin/rails javascript:install:esbuild && \

0 commit comments

Comments
 (0)