Skip to content

Commit

Permalink
Merge pull request #572 from erickguan/test-new-ruby
Browse files Browse the repository at this point in the history
Test active_interaction on ruby 3.3 and rails 7.1
  • Loading branch information
AaronLasseigne authored Apr 9, 2024
2 parents a7dc376 + 6c18006 commit 5d3d410
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -23,9 +23,11 @@ jobs:
name: Test Ruby ${{ matrix.ruby }} on ActiveModel ${{ matrix.activemodel }}
strategy:
matrix:
ruby: ["3.2"]
activemodel: ["7.0"]
ruby: ["3.2", "3.3"]
activemodel: ["7.1"]
include:
- activemodel: "7.0"
ruby: "3.2"
- activemodel: "6.1"
ruby: "3.1"
- activemodel: "6.0"
Expand All @@ -38,7 +40,7 @@ jobs:
BUNDLE_GEMFILE: gemfiles/rails-${{ matrix.activemodel }}.gemfile

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Prerequisites
run: sudo apt install libsqlite3-dev
Expand Down
7 changes: 7 additions & 0 deletions gemfiles/rails-7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gemspec path: '..'

gem 'activemodel', '~> 7.1.0'
gem 'activerecord', '~> 7.1.0'
gem 'sqlite3', '~> 1.7.3'

0 comments on commit 5d3d410

Please sign in to comment.