Skip to content

Commit

Permalink
chore: Add sidekiq 6/7 specs to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed Mar 10, 2024
1 parent 8d42655 commit cdb37ca
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
- rack_2.0.gemfile
- rack_2.1.gemfile
- rack_2.2.gemfile
- sidekiq_6.gemfile
- sidekiq_7.gemfile
exclude:
- ruby: "3.2"
gemfile: rails_5.2.gemfile
Expand Down Expand Up @@ -63,7 +65,7 @@ jobs:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
ruby-version: '3.3'
bundler-cache: true

- run: bundle exec rubocop --parallel --color
12 changes: 12 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ appraise 'rack-2.2' do
gem 'rack', '~> 2.2.0'
end
end

appraise 'sidekiq-6' do
group :test do
gem 'sidekiq', '~> 6.0'
end
end

appraise 'sidekiq-7' do
group :test do
gem 'sidekiq', '~> 7.0'
end
end
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
### Added

- New standalone Influx line protocol serializer
- `before_send` filter option for agent and all plugins (#27)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gem 'rubocop-config', github: 'jgraichen/rubocop-config', ref: 'v11'
group :test do
gem 'rack'
gem 'rails'
gem 'sidekiq', '~> 7.1', '>= 7.1.3'
gem 'sidekiq'
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rack_2.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"
group :test do
gem "rack", "~> 2.0.0"
gem "rails"
gem "sidekiq", "~> 7.1", ">= 7.1.3"
gem "sidekiq"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rack_2.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"
group :test do
gem "rack", "~> 2.1.0"
gem "rails"
gem "sidekiq", "~> 7.1", ">= 7.1.3"
gem "sidekiq"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rack_2.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"
group :test do
gem "rack", "~> 2.2.0"
gem "rails"
gem "sidekiq", "~> 7.1", ">= 7.1.3"
gem "sidekiq"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"
group :test do
gem "rack"
gem "rails", "~> 5.2.0"
gem "sidekiq", "~> 7.1", ">= 7.1.3"
gem "sidekiq"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"
group :test do
gem "rack"
gem "rails", "~> 6.0.0"
gem "sidekiq", "~> 7.1", ">= 7.1.3"
gem "sidekiq"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"
group :test do
gem "rack"
gem "rails", "~> 6.1.0"
gem "sidekiq", "~> 7.1", ">= 7.1.3"
gem "sidekiq"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"
group :test do
gem "rack"
gem "rails", "~> 7.0.0"
gem "sidekiq", "~> 7.1", ">= 7.1.3"
gem "sidekiq"
end

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

source "https://rubygems.org"

gem "rake"
gem "rspec", "~> 3.8"
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"

group :test do
gem "rack"
gem "rails"
gem "sidekiq", "~> 6.0"
end

group :development do
gem "appraisal"
gem "rake-release", "~> 1.2"
end

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

source "https://rubygems.org"

gem "rake"
gem "rspec", "~> 3.8"
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11"

group :test do
gem "rack"
gem "rails"
gem "sidekiq", "~> 7.0"
end

group :development do
gem "appraisal"
gem "rake-release", "~> 1.2"
end

gemspec path: "../"

0 comments on commit cdb37ca

Please sign in to comment.