Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Add Rails 7 to Test Suite
Browse files Browse the repository at this point in the history
  • Loading branch information
westonganger committed Dec 22, 2021
1 parent 25e8fca commit d976f8b
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 30 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
gemfile: gemfiles/rails_6.0.sqlite3.gemfile
- ruby: 2.6
gemfile: gemfiles/rails_6.1.sqlite3.gemfile
- ruby: 3.0
gemfile: gemfiles/rails_7.0.sqlite3.gemfile

env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
Expand Down Expand Up @@ -81,6 +83,8 @@ jobs:
gemfile: gemfiles/rails_6.0.mysql2.gemfile
- ruby: 2.6
gemfile: gemfiles/rails_6.1.mysql2.gemfile
- ruby: 3.0
gemfile: gemfiles/rails_7.0.mysql2.gemfile

env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
Expand Down Expand Up @@ -133,6 +137,8 @@ jobs:
gemfile: gemfiles/rails_6.0.pg.gemfile
- ruby: 2.6
gemfile: gemfiles/rails_6.1.pg.gemfile
- ruby: 3.0
gemfile: gemfiles/rails_7.0.pg.gemfile

env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
Expand Down
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
["sqlite3", "mysql2", "pg"].each do |db_gem|

appraise "rails_7.0.#{db_gem}" do
gem "rails", "~> 7.0.0"
gem db_gem
end

appraise "rails_6.1.#{db_gem}" do
gem "rails", "~> 6.1.1"
gem db_gem
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_5.0.mysql2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 5.0.7"
gem "sqlite3"
gem "mysql2"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_5.0.pg.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 5.0.7"
gem "sqlite3"
gem "pg"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_5.1.mysql2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 5.1.7"
gem "sqlite3"
gem "mysql2"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_5.1.pg.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 5.1.7"
gem "sqlite3"
gem "pg"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_5.2.mysql2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 5.2.4"
gem "sqlite3"
gem "mysql2"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_5.2.pg.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 5.2.4"
gem "sqlite3"
gem "pg"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_6.0.mysql2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 6.0.3"
gem "sqlite3"
gem "mysql2"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_6.0.pg.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 6.0.3"
gem "sqlite3"
gem "pg"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_6.1.mysql2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 6.1.1"
gem "sqlite3"
gem "mysql2"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_6.1.pg.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", "~> 6.1.1"
gem "sqlite3"
gem "pg"

gemspec path: "../"
9 changes: 9 additions & 0 deletions gemfiles/rails_7.0.mysql2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 7.0.0"
gem "sqlite3"
gem "mysql2"

gemspec path: "../"
9 changes: 9 additions & 0 deletions gemfiles/rails_7.0.pg.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 7.0.0"
gem "sqlite3"
gem "pg"

gemspec path: "../"
8 changes: 8 additions & 0 deletions gemfiles/rails_7.0.sqlite3.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 7.0.0"
gem "sqlite3"

gemspec path: "../"

0 comments on commit d976f8b

Please sign in to comment.