From c69c7a4a0168d62401ce27bb83e221d90d1ea914 Mon Sep 17 00:00:00 2001 From: alpaca-tc Date: Thu, 5 Oct 2023 22:21:39 +0900 Subject: [PATCH] Add rails 7.1 to test target --- .github/workflows/ci.yml | 6 +++++- Appraisals | 4 ++++ gemfiles/7.1_stable.gemfile | 13 +++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 gemfiles/7.1_stable.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a2989a..9abb6e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - gemfile: ['6.0_stable', '6.1_stable', '7.0_stable'] + gemfile: ['6.0_stable', '6.1_stable', '7.0_stable', '7.1_stable'] ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2'] exclude: - ruby-version: '3.2' @@ -41,6 +41,10 @@ jobs: gemfile: '7.0_stable' - ruby-version: '2.6' gemfile: '7.0_stable' + - ruby-version: '2.5' + gemfile: '7.1_stable' + - ruby-version: '2.6' + gemfile: '7.1_stable' env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile steps: diff --git a/Appraisals b/Appraisals index 8383ff5..254da18 100644 --- a/Appraisals +++ b/Appraisals @@ -11,3 +11,7 @@ end appraise '7.0-stable' do gem 'activerecord', '~> 7.0.0' end + +appraise '7.1-stable' do + gem 'activerecord', '~> 7.1.0' +end diff --git a/gemfiles/7.1_stable.gemfile b/gemfiles/7.1_stable.gemfile new file mode 100644 index 0000000..ce852d7 --- /dev/null +++ b/gemfiles/7.1_stable.gemfile @@ -0,0 +1,13 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "pry" +gem "rubocop", "1.28.2" +gem "appraisal" +gem "rake" +gem "rspec" +gem "sqlite3" +gem "activerecord", "~> 7.1.0" + +gemspec path: "../"