diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 825a8d4a..ce4e72e2 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -17,7 +17,14 @@ jobs: fail-fast: false matrix: ruby: [ '3.0', '3.1', '3.2' ] - gemfile: [rails.6.1.activerecord, rails.7.0.activerecord, rails.7.1.activerecord] + gemfile: + - rails.6.1.activerecord + - rails.7.0.activerecord + - rails.7.1.activerecord + - rails.7.2.beta.activerecord + exclude: + - ruby: 3.0 + gemfile: rails.7.2.beta.activerecord name: ${{ matrix.ruby }}-${{ matrix.gemfile }} env: diff --git a/gemfiles/base.gemfile b/gemfiles/base.gemfile index b6c490e8..8cf40913 100644 --- a/gemfiles/base.gemfile +++ b/gemfiles/base.gemfile @@ -7,6 +7,6 @@ gem 'rspec', '>= 3.7.0' gem 'rspec-collection_matchers' gem 'rspec-its' gem 'rubocop', '1.65.0' -gem 'sqlite3', '~> 1.4' +# gem 'sqlite3' it is specified rails-version-specific gemfiles gem 'timecop' gem 'unparser' diff --git a/gemfiles/rails.6.1.activerecord.gemfile b/gemfiles/rails.6.1.activerecord.gemfile index 526db972..02bf0d1e 100644 --- a/gemfiles/rails.6.1.activerecord.gemfile +++ b/gemfiles/rails.6.1.activerecord.gemfile @@ -7,6 +7,7 @@ gem 'kaminari-core', '~> 1.1.0', require: false gem 'parallel', require: false gem 'rspec_junit_formatter', '~> 0.4.1' gem 'sidekiq', require: false +gem 'sqlite3', '~> 1.4', '< 2.0' gem 'rexml' diff --git a/gemfiles/rails.7.0.activerecord.gemfile b/gemfiles/rails.7.0.activerecord.gemfile index 1176622a..c899b2c4 100644 --- a/gemfiles/rails.7.0.activerecord.gemfile +++ b/gemfiles/rails.7.0.activerecord.gemfile @@ -7,6 +7,7 @@ gem 'kaminari-core', '~> 1.1.0', require: false gem 'parallel', require: false gem 'rspec_junit_formatter', '~> 0.4.1' gem 'sidekiq', require: false +gem 'sqlite3', '~> 1.4', '< 2.0' gem 'rexml' diff --git a/gemfiles/rails.7.1.activerecord.gemfile b/gemfiles/rails.7.1.activerecord.gemfile index eb39c6ee..747e05d0 100644 --- a/gemfiles/rails.7.1.activerecord.gemfile +++ b/gemfiles/rails.7.1.activerecord.gemfile @@ -7,6 +7,7 @@ gem 'kaminari-core', '~> 1.1.0', require: false gem 'parallel', require: false gem 'rspec_junit_formatter', '~> 0.4.1' gem 'sidekiq', require: false +gem 'sqlite3', '~> 1.4', '< 2.0' gem 'rexml' diff --git a/gemfiles/rails.7.2.beta.activerecord.gemfile b/gemfiles/rails.7.2.beta.activerecord.gemfile new file mode 100644 index 00000000..e48b82f2 --- /dev/null +++ b/gemfiles/rails.7.2.beta.activerecord.gemfile @@ -0,0 +1,15 @@ +source 'https://rubygems.org' + +gem 'activejob', '~> 7.2.0.beta' +gem 'activerecord', '~> 7.2.0.beta' +gem 'activesupport', '~> 7.2.0.beta' +gem 'kaminari-core', '~> 1.1.0', require: false +gem 'parallel', require: false +gem 'rspec_junit_formatter', '~> 0.4.1' +gem 'sidekiq', require: false +gem 'sqlite3', '~> 2.0' + +gem 'rexml' + +gemspec path: '../' +eval_gemfile 'base.gemfile'