From 8aefae82e6e4c437504ae0ba97ea4e8801b09a15 Mon Sep 17 00:00:00 2001 From: Chris Colvard Date: Mon, 23 Jan 2023 17:33:56 -0500 Subject: [PATCH] Test with ruby 3.2 and newest patch version of rails (#153) * Test with ruby 3.2 and newest patch versions of Rails 7.0, 6.1, 6.0 * Apply config changes to on-demand jobs not just nightly jobs * Bump bundler to 2.4.5 with update config.yml --- .circleci/config.yml | 62 ++++++++++++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index eacb33a..f9a2f7e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: type: string bundler_version: type: string - default: 2.0.1 + default: 2.4.5 ruby_type: type: string default: ruby @@ -49,44 +49,56 @@ workflows: ci: jobs: # Rails 7.0 + - bundle_and_test: + name: ruby3-2_rails7-0 + ruby_version: 3.2.0 + rails_version: 7.0.4.1 - bundle_and_test: name: ruby3-1_rails7-0 ruby_version: 3.1.3 - rails_version: 7.0.4 + rails_version: 7.0.4.1 - bundle_and_test: name: ruby3-0_rails7-0 ruby_version: 3.0.5 - rails_version: 7.0.4 + rails_version: 7.0.4.1 - bundle_and_test: name: ruby2-7_rails7-0 ruby_version: 2.7.7 - rails_version: 7.0.4 + rails_version: 7.0.4.1 # Rails 6.1 + - bundle_and_test: + name: ruby3-2_rails6-1 + ruby_version: 3.2.0 + rails_version: 6.1.7.1 - bundle_and_test: name: ruby3-1_rails6-1 ruby_version: 3.1.3 - rails_version: 6.1.7 + rails_version: 6.1.7.1 - bundle_and_test: name: ruby3-0_rails6-1 ruby_version: 3.0.5 - rails_version: 6.1.7 + rails_version: 6.1.7.1 - bundle_and_test: name: ruby2-7_rails6-1 ruby_version: 2.7.7 - rails_version: 6.1.7 + rails_version: 6.1.7.1 # Rails 6.0 + - bundle_and_test: + name: ruby3-2_rails6-0 + ruby_version: 3.2.0 + rails_version: 6.0.6.1 - bundle_and_test: name: ruby3-1_rails6-0 ruby_version: 3.1.3 - rails_version: 6.0.6 + rails_version: 6.0.6.1 - bundle_and_test: name: ruby3-0_rails6-0 ruby_version: 3.0.5 - rails_version: 6.0.6 + rails_version: 6.0.6.1 - bundle_and_test: name: ruby2-7_rails6-0 ruby_version: 2.7.7 - rails_version: 6.0.6 + rails_version: 6.0.6.1 # Rails 5.2 - bundle_and_test: name: ruby3-0_rails5-2 @@ -108,44 +120,56 @@ workflows: jobs: # Rails 7.0 + - bundle_and_test: + name: ruby3-2_rails7-0 + ruby_version: 3.2.0 + rails_version: 7.0.4.1 - bundle_and_test: name: ruby3-1_rails7-0 ruby_version: 3.1.3 - rails_version: 7.0.4 + rails_version: 7.0.4.1 - bundle_and_test: name: ruby3-0_rails7-0 ruby_version: 3.0.5 - rails_version: 7.0.4 + rails_version: 7.0.4.1 - bundle_and_test: name: ruby2-7_rails7-0 ruby_version: 2.7.7 - rails_version: 7.0.4 + rails_version: 7.0.4.1 # Rails 6.1 + - bundle_and_test: + name: ruby3-2_rails6-1 + ruby_version: 3.2.0 + rails_version: 6.1.7.1 - bundle_and_test: name: ruby3-1_rails6-1 ruby_version: 3.1.3 - rails_version: 6.1.7 + rails_version: 6.1.7.1 - bundle_and_test: name: ruby3-0_rails6-1 ruby_version: 3.0.5 - rails_version: 6.1.7 + rails_version: 6.1.7.1 - bundle_and_test: name: ruby2-7_rails6-1 ruby_version: 2.7.7 - rails_version: 6.1.7 + rails_version: 6.1.7.1 # Rails 6.0 + - bundle_and_test: + name: ruby3-2_rails6-0 + ruby_version: 3.2.0 + rails_version: 6.0.6.1 - bundle_and_test: name: ruby3-1_rails6-0 ruby_version: 3.1.3 - rails_version: 6.0.6 + rails_version: 6.0.6.1 - bundle_and_test: name: ruby3-0_rails6-0 ruby_version: 3.0.5 - rails_version: 6.0.6 + rails_version: 6.0.6.1 - bundle_and_test: name: ruby2-7_rails6-0 ruby_version: 2.7.7 - rails_version: 6.0.6 + rails_version: 6.0.6.1 # Rails 5.2 - bundle_and_test: name: ruby3-0_rails5-2