Skip to content

Commit

Permalink
Add Rails 7.2 to test matrix
Browse files Browse the repository at this point in the history
Also add Ruby 3.3.
  • Loading branch information
p8 committed Sep 6, 2024
1 parent 3afdba5 commit dad406d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
gemfile: ['rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0', 'rails_7_1']
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
gemfile: ['rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0', 'rails_7_1', 'rails_7_2']
exclude:
# Latest ruby will test
# - all rails versions in current major
Expand All @@ -35,8 +35,11 @@ jobs:
- { ruby: '2.6', gemfile: 'rails_6_1' }
- { ruby: '2.6', gemfile: 'rails_7_0' }
- { ruby: '2.6', gemfile: 'rails_7_1' }
- { ruby: '2.6', gemfile: 'rails_7_2' }
- { ruby: '2.7', gemfile: 'rails_7_0' }
- { ruby: '2.7', gemfile: 'rails_7_1' }
- { ruby: '2.7', gemfile: 'rails_7_2' }
- { ruby: '3.0', gemfile: 'rails_7_2' }
# Ruby 3+ won't work with Rails 5.2: https://github.com/rails/rails/issues/40938
- { ruby: '3.0', gemfile: 'rails_5_2' }
# Capybara has an incompatibility here with rails 6. It's easier to just exclude this one run from the matrix until it's out of support
Expand All @@ -49,6 +52,9 @@ jobs:
- { ruby: '3.2', gemfile: 'rails_5_2' }
- { ruby: '3.2', gemfile: 'rails_6_0' }
- { ruby: '3.2', gemfile: 'rails_6_1' }
- { ruby: '3.3', gemfile: 'rails_5_2' }
- { ruby: '3.3', gemfile: 'rails_6_0' }
- { ruby: '3.3', gemfile: 'rails_6_1' }
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
Expand Down
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ appraise 'rails_7_1' do
gem 'railties', '~> 7.1.3'
gem 'sqlite3', '~> 1.7'
end

appraise 'rails_7_2' do
gem 'activerecord'
gem 'railties', '~> 7.2.1'
gem 'sqlite3', '~> 1.7'
end
9 changes: 9 additions & 0 deletions gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord"
gem "railties", "~> 7.2.1"
gem "sqlite3", "~> 1.7"

gemspec path: "../"

0 comments on commit dad406d

Please sign in to comment.