Skip to content

Commit c48e5c2

Browse files
committed
#24 Added rails_main branch to test matrix
1 parent c27915a commit c48e5c2

File tree

4 files changed

+28
-7
lines changed

4 files changed

+28
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
23-
gemfile: [ar_52, ar_60, ar_61, ar_70]
23+
gemfile: [ar_52, ar_60, ar_61, ar_70 ar_next]
2424
exclude:
2525
- ruby-version: '3.2'
2626
gemfile: ar_52
@@ -36,9 +36,13 @@ jobs:
3636
gemfile: ar_61
3737
- ruby-version: '3.0'
3838
gemfile: ar_52
39-
- ruby-version: '2.5'
40-
gemfile: ar_70
4139
- ruby-version: '2.6'
40+
gemfile: ar_next
41+
- ruby-version: '2.6'
42+
gemfile: ar_70
43+
- ruby-version: '2.5'
44+
gemfile: ar_next
45+
- ruby-version: '2.5'
4246
gemfile: ar_70
4347
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
4448
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile

Appraisals

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ appraise 'ar-61' do
1616
end
1717

1818
appraise 'ar-70' do
19-
gem 'activerecord', '~> 7.0.1'
20-
gem 'activesupport', '~> 7.0.1'
19+
gem 'activerecord', '~> 7.0'
20+
gem 'activesupport', '~> 7.0'
21+
end
22+
23+
appraise 'ar-next' do
24+
git 'https://github.com/rails/rails.git', branch: 'main' do
25+
gem 'activerecord'
26+
gem 'activesupport'
27+
end
2128
end

gemfiles/ar_70.gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
gem "activerecord", "~> 7.0.1"
6-
gem "activesupport", "~> 7.0.1"
5+
gem "activerecord", "~> 7.0"
6+
gem "activesupport", "~> 7.0"
77

88
gemspec path: "../"

gemfiles/ar_next.gemfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
git "https://github.com/rails/rails.git", branch: "main" do
6+
gem "activerecord"
7+
gem "activesupport"
8+
end
9+
10+
gemspec path: "../"

0 commit comments

Comments
 (0)