Skip to content

Commit

Permalink
Update appraisals to include Rails 7.1 and Ruby 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeen committed Feb 27, 2024
1 parent f374bbc commit b8d47d1
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
gemfile:
- Gemfile
- gemfiles/rails_5_2.gemfile
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source "https://rubygems.org"
gemspec

group :test do
gem "database_cleaner"
gem "pry"
gem "pry-byebug", platform: [:mri]
gem "appraisal"
Expand Down
18 changes: 18 additions & 0 deletions gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
@@ -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: "../"
19 changes: 19 additions & 0 deletions gemfiles/rails_7_1_graphiti_rails.gemfile
Original file line number Diff line number Diff line change
@@ -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: "../"

0 comments on commit b8d47d1

Please sign in to comment.