Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
Don't test rails 5 against ruby 3.1. Generate appraisals.
Browse files Browse the repository at this point in the history
  • Loading branch information
philnash committed Apr 4, 2022
1 parent 2980240 commit 160f0e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
ruby: [2.5, 2.6, 2.7, "3.0", 3.1, head]
gemfile: [rails_5_2, rails_6]
exclude:
- ruby: 3.0
- ruby: "3.0"
gemfile: rails_5_2
- ruby: 3.1
gemfile: rails_5_2
- ruby: head
gemfile: rails_5_2
Expand Down
3 changes: 1 addition & 2 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ end if RUBY_VERSION.to_f < 3.0
appraise "rails-6" do
gem "rails", "~> 6.0.0"
gem "sqlite3", "~> 1.4"

gem "net-smtp" if RUBY_VERSION.to_f > 3.0
gem "net-smtp"

group :development, :test do
gem 'factory_girl_rails', :require => false
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source "https://rubygems.org"

gem "rails", "~> 6.0.0"
gem "sqlite3", "~> 1.4"
gem "net-smtp"

group :development, :test do
gem "factory_girl_rails", require: false
Expand Down

0 comments on commit 160f0e1

Please sign in to comment.