Skip to content

Commit

Permalink
Add Rails 7.2 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
p8 committed Sep 6, 2024
1 parent 3afdba5 commit 9a41c93
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
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']
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,10 @@ 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+ 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 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 9a41c93

Please sign in to comment.