From 141173d3d9dfc7809ead3b0fe1855b36ae978a40 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Mon, 4 Nov 2024 15:39:11 +0100 Subject: [PATCH] CI: Make rails version explicit It is easier to debug which ruby and rails versions we are running with. --- .circleci/config.yml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d2331b88..e870882f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,7 +78,6 @@ jobs: default: "main" rails_version: type: string - default: "~> 7.2.0" ruby_version: type: string database: @@ -91,14 +90,22 @@ workflows: "Run specs on development Solidus version": jobs: - run-specs: - name: run-specs-with-postgres-ruby-3-2 + name: run-specs-with-postgres-ruby-3-1-rails-7-2 + database: "postgres" + ruby_version: "3.1" + rails_version: "~> 7.2.0" + + - run-specs: + name: run-specs-with-postgres-ruby-3-2-rails-7-2 database: "postgres" ruby_version: "3.2" + rails_version: "~> 7.2.0" - run-specs: - name: run-specs-with-postgres-ruby-3-1 + name: run-specs-with-postgres-ruby-3-3-rails-7-2 database: "postgres" - ruby_version: "3.1" + ruby_version: "3.3" + rails_version: "~> 7.2.0" - run-specs: name: run-specs-with-postgres-ruby-3-1-rails-7-1 @@ -107,23 +114,20 @@ workflows: rails_version: "~> 7.1.0" - run-specs: - name: run-specs-with-postgres-ruby-3-3 + name: run-specs-with-postgres-ruby-3-2-rails-7-1 database: "postgres" - ruby_version: "3.3" - - - run-specs: - name: run-specs-with-postgres-ruby-3-1-rails-7-0 - database: "postgres" - ruby_version: "3.1" - rails_version: "~> 7.0.0" + ruby_version: "3.2" + rails_version: "~> 7.1.0" - run-specs: - name: run-specs-with-mysql-ruby-3-2 + name: run-specs-with-mysql-ruby-3-2-rails-7-2 database: "mysql" ruby_version: "3.2" + rails_version: "~> 7.2.0" - run-specs: - name: run-specs-with-sqlite-ruby-3-2 + name: run-specs-with-sqlite-ruby-3-2-rails-7-2 database: "sqlite" ruby_version: "3.2" + rails_version: "~> 7.2.0" coverage: true