Skip to content

Commit 9969266

Browse files
committed
Test on new Ruby/Rails versions
1 parent 854ee32 commit 9969266

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0']
31+
gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0', 'rails_7.1']
3232

33-
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1']
33+
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
3434

3535
exclude:
3636
# Rails 5.2 requires Ruby < 3.0
@@ -51,6 +51,12 @@ jobs:
5151
gemfile: 'rails_7.0'
5252
- ruby: '2.6'
5353
gemfile: 'rails_7.0'
54+
- ruby: '2.4'
55+
gemfile: 'rails_7.1'
56+
- ruby: '2.5'
57+
gemfile: 'rails_7.1'
58+
- ruby: '2.6'
59+
gemfile: 'rails_7.1'
5460

5561
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
5662
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

Appraisals

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ appraise 'rails-7.0' do
1919
gem 'activemodel', '~> 7.0.0'
2020
gem 'activesupport', '~> 7.0.0'
2121
end
22+
23+
appraise 'rails-7.1' do
24+
gem 'activemodel', '~> 7.1.0'
25+
gem 'activesupport', '~> 7.1.0'
26+
end

gemfiles/rails_7.1.gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "activemodel", "~> 7.1.0"
6+
gem "activesupport", "~> 7.1.0"
7+
8+
gemspec path: "../"

0 commit comments

Comments
 (0)