Skip to content

Commit 15a8498

Browse files
authored
test: test against activerecord 7.1 (#5)
1 parent 75c6a40 commit 15a8498

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/ruby-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
matrix:
2121
gemfile:
2222
- activerecord6
23-
- activerecord7
23+
- activerecord70
24+
- activerecord71
2425
ruby-version:
2526
- "3.2"
2627
- "3.1"
@@ -36,9 +37,9 @@ jobs:
3637
run: bundle install
3738
- name: Run rubocop
3839
run: bundle exec rubocop
39-
if: matrix.ruby-version == '3.2' && matrix.gemfile == 'activerecord7'
40+
if: matrix.ruby-version == '3.2' && matrix.gemfile == 'activerecord71'
4041
- name: Run tests
4142
run: bundle exec rspec
4243
- name: Upload Coverage
4344
uses: paambaati/[email protected]
44-
if: matrix.ruby-version == '3.2' && matrix.gemfile == 'activerecord7'
45+
if: matrix.ruby-version == '3.2' && matrix.gemfile == 'activerecord71'
File renamed without changes.

gemfiles/activerecord71.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
gem "activerecord", "~> 7.1"
6+
7+
gemspec path: "../"

0 commit comments

Comments
 (0)