Skip to content

Commit

Permalink
Expand CI Matrix
Browse files Browse the repository at this point in the history
Support Rails 7.1 and 7.2. Experiment with Ruby 3.3.
  • Loading branch information
seanpdoyle committed Sep 27, 2024
1 parent 97eda74 commit 8207136
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@ jobs:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
rails-version:
- "7.1"
- "7.0"
- "6.1"
- "main"
- "7.0"
- "7.1"
- "7.2"
selenium-browser:
- "headless_chrome"
- "headless_firefox"
include:
- { ruby-version: "3.2", rails-version: "main" }
- { ruby-version: "3.3", rails-version: "main" }
exclude:
- ruby-version: "2.7"
rails-version: "main"
- ruby-version: "3.0"
rails-version: "main"
- { ruby-version: "2.7", rails-version: "7.2" }
- { ruby-version: "3.0", rails-version: "7.2" }

env:
RAILS_VERSION: "${{ matrix.rails-version }}"
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gemspec
# To use a debugger
# gem 'byebug', group: [:development, :test]

rails_version = ENV.fetch("RAILS_VERSION", "6.1")
rails_version = ENV.fetch("RAILS_VERSION", "7.2")

if rails_version == "main"
rails_constraint = { github: "rails/rails" }
Expand Down

0 comments on commit 8207136

Please sign in to comment.