From ee147c60bc4ba356e0e8ce0ffa3f69d0476f8ce8 Mon Sep 17 00:00:00 2001 From: Peter Goldstein Date: Thu, 14 Apr 2022 11:08:38 -0700 Subject: [PATCH] Add Ruby 3.1 and Rails 7 to CI (#775) --- .github/workflows/build.yml | 23 +++++++++++++++++------ gemfiles/rails_7.0.gemfile | 14 ++++++++++++++ 2 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 gemfiles/rails_7.0.gemfile diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5097113..955d9a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,14 +12,27 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04] - ruby: [3.0, 2.7, 2.6, jruby-9.1.17.0, truffleruby] + ruby: ['3.0', 2.7, 2.6, jruby-9.1.17.0, truffleruby] gemfile: [norails, rails_4.2, rails_4.2_mongoid_5, rails_5.2, rails_6.1] + redis-version: [6] + mongodb-version: [5] + include: + - ruby: '3.0' + gemfile: rails_6.1 + os: ubuntu-20.04 + redis-version: 6 + mongodb-version: 5 + - ruby: 3.1 + gemfile: rails_7.0 + os: ubuntu-20.04 + redis-version: 6 + mongodb-version: 5 exclude: - - ruby: 3.0 + - ruby: '3.0' gemfile: rails_5.2 - - ruby: 3.0 + - ruby: '3.0' gemfile: rails_4.2 - - ruby: 3.0 + - ruby: '3.0' gemfile: rails_4.2_mongoid_5 - ruby: 2.7 gemfile: rails_5.2 @@ -43,8 +56,6 @@ jobs: gemfile: rails_4.2_mongoid_5 - ruby: truffleruby gemfile: rails_5.2 - redis-version: [6] - mongodb-version: [5] allow_failures: - false env: diff --git a/gemfiles/rails_7.0.gemfile b/gemfiles/rails_7.0.gemfile new file mode 100644 index 0000000..65a86c4 --- /dev/null +++ b/gemfiles/rails_7.0.gemfile @@ -0,0 +1,14 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "sqlite3", "~> 1.4", platforms: :ruby +gem "rails", "~> 7.0.1" +gem "after_commit_everywhere", "~> 1.0" +gem "mongoid", "~>7", ">= 7.3.4" +gem "sequel" +gem "dynamoid", "~>3.3", platforms: :ruby +gem "aws-sdk-dynamodb", "~> 1" +gem "redis-objects" + +gemspec path: "../"