Skip to content

Commit

Permalink
Add Rails 7.2 to circle ci test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed Oct 18, 2024
1 parent 80b7b96 commit a2feeac
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ commands:
ruby -v >> /tmp/.ruby-versions
gem --version >> /tmp/.gems-versions
bundle --version >> /tmp/.gems-versions
gem search -eq rails -v "~> 7" -v "< 7.2" >> /tmp/.gems-versions # get the latest rails from rubygems
gem search -eq rails -v "~> 7" -v "< 8.0" >> /tmp/.gems-versions # get the latest rails from rubygems
gem search -eq solidus >> /tmp/.gems-versions # get the latest solidus from rubygems
cat /tmp/.ruby-versions
Expand All @@ -170,7 +170,7 @@ commands:
name: "Prepare the rails application"
command: |
cd /tmp
test -d my_app || (gem install rails -v "< 7.1" && gem install solidus)
test -d my_app || (gem install rails -v "< 8.0" && gem install solidus)
test -d my_app || rails new my_app --skip-git
- save_cache:
key: solidus-installer-v9-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
Expand Down Expand Up @@ -221,7 +221,7 @@ commands:
mkdir -p /tmp/dummy_extension
cd /tmp/dummy_extension
bundle init
bundle add rails -v "< 7.1" --skip-install
bundle add rails -v "< 8.0" --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']")"
Expand Down Expand Up @@ -373,7 +373,7 @@ workflows:
{
parameters:
{
rails: ["7.0", "7.1"],
rails: ["7.0", "7.1", "7.2"],
ruby: ["3.1"],
database: ["mysql"],
paperclip: [true],
Expand All @@ -385,7 +385,7 @@ workflows:
{
parameters:
{
rails: ["7.0", "7.1"],
rails: ["7.0", "7.1", "7.2"],
ruby: ["3.1"],
database: ["postgres"],
paperclip: [false],
Expand All @@ -397,7 +397,7 @@ workflows:
{
parameters:
{
rails: ["7.0"],
rails: ["7.1"],
ruby: ["3.2"],
database: ["sqlite"],
paperclip: [false],
Expand All @@ -409,8 +409,8 @@ workflows:
{
parameters:
{
rails: ["7.1", "main"],
ruby: ["3.3.2"],
rails: ["7.2", "main"],
ruby: ["3.3.5"],
database: ["sqlite"],
paperclip: [false],
},
Expand Down

0 comments on commit a2feeac

Please sign in to comment.