From b8d47d1881016555803e9964c1b4978134da9a84 Mon Sep 17 00:00:00 2001 From: Jeff Keen Date: Tue, 27 Feb 2024 08:27:07 -0600 Subject: [PATCH] Update appraisals to include Rails 7.1 and Ruby 3.2 --- .github/workflows/ci.yml | 8 +++++++- Gemfile | 1 + gemfiles/rails_7_1.gemfile | 18 ++++++++++++++++++ gemfiles/rails_7_1_graphiti_rails.gemfile | 19 +++++++++++++++++++ 4 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 gemfiles/rails_7_1.gemfile create mode 100644 gemfiles/rails_7_1_graphiti_rails.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e87a704c..de7e7cc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,7 @@ jobs: - "2.7" - "3.0" - "3.1" + - "3.2" gemfile: - Gemfile - gemfiles/rails_5_2.gemfile @@ -40,6 +41,7 @@ jobs: - gemfiles/rails_5_2_graphiti_rails.gemfile - gemfiles/rails_6_graphiti_rails.gemfile - gemfiles/rails_7_graphiti_rails.gemfile + - gemfiles/rails_7_1_graphiti_rails.gemfile appraisal: - true - false @@ -66,7 +68,9 @@ jobs: appraisal: false - gemfile: gemfiles/rails_7_graphiti_rails.gemfile appraisal: false - # Rails 5 can't run on Ruby 3 + - gemfile: gemfiles/rails_7_1_graphiti_rails.gemfile + appraisal: false + # Rails 5 can't run on Ruby 3 - gemfile: gemfiles/rails_5_2.gemfile ruby: 3.0 - gemfile: gemfiles/rails_5_2_graphiti_rails.gemfile @@ -80,6 +84,8 @@ jobs: ruby: 2.6 - gemfile: gemfiles/rails_7_graphiti_rails.gemfile ruby: 2.6 + - gemfile: gemfiles/rails_7_1_graphiti_rails.gemfile + ruby: 2.6 continue-on-error: ${{ matrix.ruby == 'ruby-head' }} env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }} diff --git a/Gemfile b/Gemfile index 3317b886..6d80a9aa 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,7 @@ source "https://rubygems.org" gemspec group :test do + gem "database_cleaner" gem "pry" gem "pry-byebug", platform: [:mri] gem "appraisal" diff --git a/gemfiles/rails_7_1.gemfile b/gemfiles/rails_7_1.gemfile new file mode 100644 index 00000000..7f61a90e --- /dev/null +++ b/gemfiles/rails_7_1.gemfile @@ -0,0 +1,18 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 7.1" +gem "rspec-rails" +gem "sqlite3", "~> 1.4.0" +gem "database_cleaner" + +group :test do + gem "pry" + gem "pry-byebug", platform: [:mri] + gem "appraisal" + gem "guard" + gem "guard-rspec" +end + +gemspec path: "../" diff --git a/gemfiles/rails_7_1_graphiti_rails.gemfile b/gemfiles/rails_7_1_graphiti_rails.gemfile new file mode 100644 index 00000000..97c0a5e5 --- /dev/null +++ b/gemfiles/rails_7_1_graphiti_rails.gemfile @@ -0,0 +1,19 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 7.1" +gem "rspec-rails" +gem "sqlite3", "~> 1.4.0" +gem "database_cleaner" +gem "graphiti-rails", "~> 0.4.0" + +group :test do + gem "pry" + gem "pry-byebug", platform: [:mri] + gem "appraisal" + gem "guard" + gem "guard-rspec" +end + +gemspec path: "../"