Skip to content

Commit 8f39de6

Browse files
committed
Test against Rails 7.2
1 parent 41ebc98 commit 8f39de6

File tree

7 files changed

+472
-170
lines changed

7 files changed

+472
-170
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,27 @@ jobs:
1515
matrix:
1616
ruby:
1717
- "3.0"
18-
- 3.1
19-
- 3.2
20-
- 3.3
21-
deps:
18+
- "3.1"
19+
- "3.2"
20+
- "3.3"
21+
rails:
2222
- rails_61
2323
- rails_70
2424
- rails_71
25+
- rails_72
26+
exclude:
27+
- ruby: "3.0"
28+
rails: rails_72
2529
steps:
2630
- uses: actions/checkout@v4
2731
- name: Configure bundler (default)
2832
run: |
2933
echo "BUNDLE_GEMFILE=Gemfile" >> "$GITHUB_ENV"
30-
if: matrix.deps == 'rails_71'
34+
if: matrix.rails == 'rails_72'
3135
- name: Configure bundler (alternative)
3236
run: |
33-
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.deps }}/Gemfile" >> "$GITHUB_ENV"
34-
if: matrix.deps != 'rails_71'
37+
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.rails }}/Gemfile" >> "$GITHUB_ENV"
38+
if: matrix.rails != 'rails_72'
3539
- uses: ruby/setup-ruby@v1
3640
with:
3741
ruby-version: ${{ matrix.ruby }}
@@ -41,10 +45,10 @@ jobs:
4145
COVERAGE: true
4246
run: |
4347
bundle exec rspec
44-
mv coverage/coverage.xml coverage/coverage-ruby-${{ matrix.ruby }}-${{ matrix.deps }}.xml
48+
mv coverage/coverage.xml coverage/coverage-ruby-${{ matrix.ruby }}-${{ matrix.rails }}.xml
4549
- uses: actions/upload-artifact@v4
4650
with:
47-
name: coverage-ruby-${{ matrix.ruby }}-${{ matrix.deps }}
51+
name: coverage-ruby-${{ matrix.ruby }}-${{ matrix.rails }}
4852
path: coverage
4953
if-no-files-found: error
5054

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ group :rubocop do
2121
end
2222

2323
group :rails do
24-
gem 'rails', '~> 7.1.0'
24+
gem 'rails', '~> 7.2.0.beta2'
2525
gem 'rspec-rails'
2626
gem 'combustion'
2727
gem 'capybara'

0 commit comments

Comments
 (0)