From 8220e9ccd4ca4858ee88c241c808e7c65e1da023 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Thu, 16 Dec 2021 21:56:53 +0900 Subject: [PATCH] CI against Rails 7.0.0 https://rubyonrails.org/2021/12/15/Rails-7-fulfilling-a-vision Rails 7 requires Ruby 2.7.0 or higher. Then excluded matrix for Ruby 2.6. https://github.com/rails/rails/blob/984c3ef2775781d47efa9f541ce570daa2434a80/rails.gemspec#L12 --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04e3e503..9632cd61 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,7 @@ jobs: fail-fast: false matrix: rails: + - v7.0.0 - v6.1.4 - v6.0.4 - 6-0-stable @@ -21,6 +22,8 @@ jobs: - 2.7.4 - 2.6.7 exclude: + - rails: v7.0.0 + ruby: 2.6.7 - rails: v5.2.4 ruby: 3.0.2 - rails: 5-2-stable @@ -45,6 +48,7 @@ jobs: fail-fast: false matrix: rails: + - v7.0.0 - v6.1.4 - v6.0.4 - 6-0-stable @@ -55,6 +59,8 @@ jobs: - 2.7.4 - 2.6.7 exclude: + - rails: v7.0.0 + ruby: 2.6.7 - rails: v5.2.4 ruby: 3.0.2 - rails: 5-2-stable @@ -88,6 +94,7 @@ jobs: fail-fast: false matrix: rails: + - v7.0.0 - v6.1.4 - v6.0.4 - 6-0-stable @@ -98,6 +105,8 @@ jobs: - 2.7.4 - 2.6.7 exclude: + - rails: v7.0.0 + ruby: 2.6.7 - rails: v5.2.4 ruby: 3.0.2 - rails: 5-2-stable