Skip to content

Commit

Permalink
CI: Make rails version explicit
Browse files Browse the repository at this point in the history
It is easier to debug which ruby and rails versions
we are running with.
  • Loading branch information
tvdeyen committed Nov 12, 2024
1 parent 386d607 commit 141173d
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ jobs:
default: "main"
rails_version:
type: string
default: "~> 7.2.0"
ruby_version:
type: string
database:
Expand All @@ -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
Expand All @@ -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

0 comments on commit 141173d

Please sign in to comment.