Skip to content

Commit

Permalink
Separate sidekiq 7.1 and sidekiq 7.2 appraisals gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
rwojsznis committed Dec 13, 2023
1 parent b998d3f commit 5f069a6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
os: [ ubuntu-latest ]
ruby: [ '2.7', '3.0', '3.1' ]
gemfile: [ sidekiq_5, sidekiq_6, sidekiq_7 ]
gemfile: [ sidekiq_5, sidekiq_6, sidekiq_7_1, sidekiq_7_2 ]
redis: [ '7.0-alpine3.18', '6.2.12-alpine3.18' ]
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand All @@ -24,7 +24,7 @@ jobs:
ports:
- 6379:6379
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
6 changes: 5 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ appraise 'sidekiq-6' do
gem 'sidekiq', '~> 6.1', '>= 6.1.1'
end

appraise 'sidekiq-7' do
appraise 'sidekiq-7-1' do
gem 'sidekiq', '~> 7.1', '>= 7.1.0'
end

appraise 'sidekiq-7-2' do
gem 'sidekiq', '~> 7.2', '>= 7.2.0'
end
File renamed without changes.
7 changes: 7 additions & 0 deletions gemfiles/sidekiq_7_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "sidekiq", "~> 7.2", ">= 7.2.0"

gemspec path: "../"

0 comments on commit 5f069a6

Please sign in to comment.