Skip to content

Commit

Permalink
chore: Add Rails 7.2 and 8.0 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed Dec 13, 2024
1 parent aec235f commit 615e760
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
- faraday-2.0
- msgr
- rack
- rails-6.1
- rails-7.0
- rails-8.0
- rails-7.1
- rails-7.0
- rails-6.1
- redis-4.0
- redis-5.0
- redis-client
Expand All @@ -46,15 +47,18 @@ jobs:
- suite: rack
spec: --tag probe:rack
gemfile: gemfiles/core.gemfile
- suite: rails-6.1
- suite: rails-8.0
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_61.gemfile
gemfile: gemfiles/rails_80.gemfile
- suite: rails-7.1
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_71.gemfile
- suite: rails-7.0
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_70.gemfile
- suite: rails-7.1
- suite: rails-6.1
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_71.gemfile
gemfile: gemfiles/rails_61.gemfile
- suite: redis-4.0
spec: --tag probe:redis
gemfile: gemfiles/redis_40.gemfile
Expand All @@ -73,6 +77,9 @@ jobs:
- suite: sidekiq-7
spec: --tag probe:sidekiq
gemfile: gemfiles/sidekiq_70.gemfile
exclude:
- ruby: "3.1"
gemfile: gemfiles/rails_80.gemfile

env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
Expand Down
18 changes: 18 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,24 @@ appraise 'faraday-20' do
end
end

appraise 'rails-80' do
remove_gem 'rubocop'

group :test do
gem 'rails', '~> 8.0.0'
gem 'sqlite3', '~> 2.0'
end
end

appraise 'rails-72' do
remove_gem 'rubocop'

group :test do
gem 'rails', '~> 7.2.0'
gem 'sqlite3', '~> 1.4'
end
end

appraise 'rails-71' do
remove_gem 'rubocop'

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added

- Increase compatibility of Kernel#require patch
- Add support for Rails 7.2
- Add support for Rails 8.0

## [2.0.0] - 2024-02-29

Expand Down
28 changes: 28 additions & 0 deletions gemfiles/rails_72.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rake", "~> 13.0"

group :test do
gem "rspec", "~> 3.6"
gem "timecop", "~> 0.9.1"
gem "faraday"
gem "msgr"
gem "rails", "~> 7.2.0"
gem "redis"
gem "redis-client"
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 1.4"
end

group :development do
gem "appraisal"
gem "rake-release", "~> 1.3.0"
gem "pry", require: false
gem "pry-byebug", require: false
end

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

source "https://rubygems.org"

gem "rake", "~> 13.0"

group :test do
gem "rspec", "~> 3.6"
gem "timecop", "~> 0.9.1"
gem "faraday"
gem "msgr"
gem "rails", "~> 8.0.0"
gem "redis"
gem "redis-client"
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 2.0"
end

group :development do
gem "appraisal"
gem "rake-release", "~> 1.3.0"
gem "pry", require: false
gem "pry-byebug", require: false
end

gemspec path: "../"

0 comments on commit 615e760

Please sign in to comment.