From a2feeac18d14f14eb4b19c6192a9586f75910c10 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Thu, 12 Sep 2024 14:07:47 +0200 Subject: [PATCH] Add Rails 7.2 to circle ci test matrix --- .circleci/config.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2ab2148a4bc..c5a7adf37a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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" }} @@ -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 "<>" && bundle add <> --skip-install bundle add solidus --path "$(ruby -e"puts File.expand_path ENV['CIRCLE_WORKING_DIRECTORY']")" @@ -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], @@ -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], @@ -397,7 +397,7 @@ workflows: { parameters: { - rails: ["7.0"], + rails: ["7.1"], ruby: ["3.2"], database: ["sqlite"], paperclip: [false], @@ -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], },