diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 663a5c26..114a4f0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: ruby: ['2.6', '2.7', '3.0', '3.1', '3.2'] - gemfile: ['rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0', 'rails_7_1'] + gemfile: ['rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0', 'rails_7_1', 'rails_7_2'] exclude: # Latest ruby will test # - all rails versions in current major @@ -35,8 +35,10 @@ jobs: - { ruby: '2.6', gemfile: 'rails_6_1' } - { ruby: '2.6', gemfile: 'rails_7_0' } - { ruby: '2.6', gemfile: 'rails_7_1' } + - { ruby: '2.6', gemfile: 'rails_7_2' } - { ruby: '2.7', gemfile: 'rails_7_0' } - { ruby: '2.7', gemfile: 'rails_7_1' } + - { ruby: '2.7', gemfile: 'rails_7_2' } # Ruby 3+ won't work with Rails 5.2: https://github.com/rails/rails/issues/40938 - { ruby: '3.0', gemfile: 'rails_5_2' } # Capybara has an incompatibility here with rails 6. It's easier to just exclude this one run from the matrix until it's out of support diff --git a/Appraisals b/Appraisals index c3f7ba57..1e97ec19 100644 --- a/Appraisals +++ b/Appraisals @@ -44,3 +44,9 @@ appraise 'rails_7_1' do gem 'railties', '~> 7.1.3' gem 'sqlite3', '~> 1.7' end + +appraise 'rails_7_2' do + gem 'activerecord' + gem 'railties', '~> 7.2.1' + gem 'sqlite3', '~> 1.7' +end diff --git a/gemfiles/rails_7_2.gemfile b/gemfiles/rails_7_2.gemfile new file mode 100644 index 00000000..d38a60e1 --- /dev/null +++ b/gemfiles/rails_7_2.gemfile @@ -0,0 +1,9 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord" +gem "railties", "~> 7.2.1" +gem "sqlite3", "~> 1.7" + +gemspec path: "../"