Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ruby 3.1 and Rails 7 to the CI run #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 40 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- 2.5
- 2.6
- 2.7
- 3.0
- '3.0'
- 3.1
gemfile:
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.0.gemfile
Expand All @@ -39,6 +40,7 @@ jobs:
- gemfiles/rails5.2.gemfile
- gemfiles/rails6.0.gemfile
- gemfiles/rails6.1.gemfile
- gemfiles/rails7.0.gemfile
exclude:
- ruby: 2.1
gemfile: gemfiles/rails5.0.gemfile
Expand All @@ -50,16 +52,24 @@ jobs:
gemfile: gemfiles/rails6.0.gemfile
- ruby: 2.1
gemfile: gemfiles/rails6.1.gemfile
- ruby: 2.1
gemfile: gemfiles/rails7.0.gemfile
- ruby: 2.2
gemfile: gemfiles/rails5.2.gemfile
- ruby: 2.2
gemfile: gemfiles/rails6.0.gemfile
- ruby: 2.2
gemfile: gemfiles/rails6.1.gemfile
- ruby: 2.2
gemfile: gemfiles/rails7.0.gemfile
- ruby: 2.3
gemfile: gemfiles/rails6.0.gemfile
- ruby: 2.3
gemfile: gemfiles/rails6.1.gemfile
- ruby: 2.3
gemfile: gemfiles/rails6.1.gemfile
- ruby: 2.3
gemfile: gemfiles/rails7.0.gemfile
- ruby: 2.4
gemfile: gemfiles/rails3.2.gemfile
- ruby: 2.4
Expand All @@ -70,18 +80,24 @@ jobs:
gemfile: gemfiles/rails6.0.gemfile
- ruby: 2.4
gemfile: gemfiles/rails6.1.gemfile
- ruby: 2.4
gemfile: gemfiles/rails7.0.gemfile
- ruby: 2.5
gemfile: gemfiles/rails3.2.gemfile
- ruby: 2.5
gemfile: gemfiles/rails4.0.gemfile
- ruby: 2.5
gemfile: gemfiles/rails4.1.gemfile
- ruby: 2.5
gemfile: gemfiles/rails7.0.gemfile
- ruby: 2.6
gemfile: gemfiles/rails3.2.gemfile
- ruby: 2.6
gemfile: gemfiles/rails4.0.gemfile
- ruby: 2.6
gemfile: gemfiles/rails4.1.gemfile
- ruby: 2.6
gemfile: gemfiles/rails7.0.gemfile
- ruby: 2.7
gemfile: gemfiles/rails3.2.gemfile
- ruby: 2.7
Expand All @@ -90,20 +106,36 @@ jobs:
gemfile: gemfiles/rails4.1.gemfile
- ruby: 2.7
gemfile: gemfiles/rails4.2.gemfile
- ruby: 3.0
- ruby: '3.0'
gemfile: gemfiles/rails3.2.gemfile
- ruby: 3.0
- ruby: '3.0'
gemfile: gemfiles/rails4.0.gemfile
- ruby: 3.0
- ruby: '3.0'
gemfile: gemfiles/rails4.1.gemfile
- ruby: 3.0
- ruby: '3.0'
gemfile: gemfiles/rails4.2.gemfile
- ruby: 3.0
- ruby: '3.0'
gemfile: gemfiles/rails5.0.gemfile
- ruby: 3.0
- ruby: '3.0'
gemfile: gemfiles/rails5.1.gemfile
- ruby: 3.0
- ruby: '3.0'
gemfile: gemfiles/rails5.2.gemfile
- ruby: 3.1
gemfile: gemfiles/rails3.2.gemfile
- ruby: 3.1
gemfile: gemfiles/rails4.0.gemfile
- ruby: 3.1
gemfile: gemfiles/rails4.1.gemfile
- ruby: 3.1
gemfile: gemfiles/rails4.2.gemfile
- ruby: 3.1
gemfile: gemfiles/rails5.0.gemfile
- ruby: 3.1
gemfile: gemfiles/rails5.1.gemfile
- ruby: 3.1
gemfile: gemfiles/rails5.2.gemfile
- ruby: 3.1
gemfile: gemfiles/rails6.0.gemfile
include:
- ruby: 2.7
os: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ rails_versions = [
%w[5.1 5.1.7],
%w[5.2 5.2.4],
%w[6.0 6.0.3],
%w[6.1 6.1.0]
%w[6.1 6.1.0],
%w[7.0 7.0.1]
]

rails_versions.each do |(version, rails)|
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change log

### Changed
* Support Rails 7.0 and Ruby 3.1 in tests

## [v0.10.0] - 2020-11-21

### Changed
Expand Down
19 changes: 19 additions & 0 deletions gemfiles/rails7.0.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 "ammeter", "~> 1.1.4"
gem "appraisal", "~> 2.4.1"
gem "yard", "~> 0.9.24"
gem "capybara", "~> 2.18.0"
gem "rspec-rails", "~> 5.1.0"
gem "public_suffix", "~> 4.0.6"
gem "railties", "~> 7.0.0"

group :metrics do
gem "coveralls", "0.8.23"
gem "simplecov", "~> 0.16.1"
gem "yardstick", "~> 0.9.9"
end

gemspec path: "../"