From cacb02dd1524d17ab0fc96da9c0ca30e959d827b Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Sat, 8 Feb 2025 03:41:00 +0900 Subject: [PATCH] Test against Rails 7.2, 8.0 and Ruby 3.4 on CI --- .github/workflows/ruby.yml | 4 +++- Gemfile.rails72 | 8 ++++++++ Gemfile.rails80 | 8 ++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 Gemfile.rails72 create mode 100644 Gemfile.rails80 diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 33273f2..6c6787c 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -32,12 +32,14 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['3.0', '3.1', '3.2', '3.3'] + ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4'] test: ['minitest', 'rspec'] gemfile: - Gemfile.rails61 - Gemfile.rails70 - Gemfile.rails71 + - Gemfile.rails72 + - Gemfile.rails80 - Gemfile.railsmaster - Gemfile.mongo_mapper db: diff --git a/Gemfile.rails72 b/Gemfile.rails72 new file mode 100644 index 0000000..e25e19b --- /dev/null +++ b/Gemfile.rails72 @@ -0,0 +1,8 @@ +eval_gemfile('Gemfile.global') + +gem 'minitest', '~> 5.8' +gem 'rails', github: 'rails/rails', branch: '7-2-stable', require: false + +gem 'mongoid', github: 'mongodb/mongoid' + +gem 'sqlite3', platforms: [:ruby, :mswin, :mingw] diff --git a/Gemfile.rails80 b/Gemfile.rails80 new file mode 100644 index 0000000..e84b21a --- /dev/null +++ b/Gemfile.rails80 @@ -0,0 +1,8 @@ +eval_gemfile('Gemfile.global') + +gem 'minitest', '~> 5.8' +gem 'rails', github: 'rails/rails', branch: '8-0-stable', require: false + +gem 'mongoid', github: 'mongodb/mongoid' + +gem 'sqlite3', platforms: [:ruby, :mswin, :mingw]