Skip to content

Commit d10817f

Browse files
authored
Add Ruby 3.3, Rails 7.2 to test matrix (#586)
1 parent 17c161c commit d10817f

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.github/workflows/test.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
20-
gemfile: ['rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0', 'rails_7_1']
19+
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
20+
gemfile: ['rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0', 'rails_7_1', 'rails_7_2']
2121
exclude:
2222
# Latest ruby will test
2323
# - all rails versions in current major
@@ -35,8 +35,11 @@ jobs:
3535
- { ruby: '2.6', gemfile: 'rails_6_1' }
3636
- { ruby: '2.6', gemfile: 'rails_7_0' }
3737
- { ruby: '2.6', gemfile: 'rails_7_1' }
38+
- { ruby: '2.6', gemfile: 'rails_7_2' }
3839
- { ruby: '2.7', gemfile: 'rails_7_0' }
3940
- { ruby: '2.7', gemfile: 'rails_7_1' }
41+
- { ruby: '2.7', gemfile: 'rails_7_2' }
42+
- { ruby: '3.0', gemfile: 'rails_7_2' }
4043
# Ruby 3+ won't work with Rails 5.2: https://github.com/rails/rails/issues/40938
4144
- { ruby: '3.0', gemfile: 'rails_5_2' }
4245
# 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
@@ -49,6 +52,9 @@ jobs:
4952
- { ruby: '3.2', gemfile: 'rails_5_2' }
5053
- { ruby: '3.2', gemfile: 'rails_6_0' }
5154
- { ruby: '3.2', gemfile: 'rails_6_1' }
55+
- { ruby: '3.3', gemfile: 'rails_5_2' }
56+
- { ruby: '3.3', gemfile: 'rails_6_0' }
57+
- { ruby: '3.3', gemfile: 'rails_6_1' }
5258
env:
5359
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
5460
steps:

Appraisals

+6
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,9 @@ appraise 'rails_7_1' do
4444
gem 'railties', '~> 7.1.3'
4545
gem 'sqlite3', '~> 1.7'
4646
end
47+
48+
appraise 'rails_7_2' do
49+
gem 'activerecord'
50+
gem 'railties', '~> 7.2.1'
51+
gem 'sqlite3', '~> 1.7'
52+
end

gemfiles/rails_7_2.gemfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "activerecord"
6+
gem "railties", "~> 7.2.1"
7+
gem "sqlite3", "~> 1.7"
8+
9+
gemspec path: "../"

0 commit comments

Comments
 (0)