Skip to content

Commit

Permalink
CI: add Rails 7.1 to the build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Oct 8, 2023
1 parent 434bb7b commit e86644e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
ruby: ['3.0', '3.1', '3.2']
gemfile: [Gemfile.rails-6.1.x, Gemfile.rails-7.0.x]
gemfile: [Gemfile.rails-6.1.x, Gemfile.rails-7.0.x, Gemfile.rails-7.1.x]
db: [mysql, postgres, sqlite]
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/spec/support/gemfiles/${{ matrix.gemfile }}
Expand Down
9 changes: 9 additions & 0 deletions spec/support/gemfiles/Gemfile.rails-7.1.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gemspec path: '../../../'

gem 'activerecord', '~> 7.1.0'

# Rails imposed mysql2 version contraints
# https://github.com/rails/rails/blob/7-1-stable/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
gem 'mysql2', '~> 0.5'

0 comments on commit e86644e

Please sign in to comment.