Skip to content

Commit

Permalink
chore(ci): test against newer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mhenrixon committed Feb 7, 2024
1 parent bc84460 commit 413baac
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler: 2.4.12
ruby-version: 3.2
bundler-cache: true
- run: bin/bundle --jobs=$(nproc) --retry=$(nproc)
- run: bin/rubocop -P
6 changes: 3 additions & 3 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler: 2.4.12
bundler-cache: true

- name: Install Code Climate reporter
Expand Down Expand Up @@ -59,16 +58,17 @@ jobs:
strategy:
fail-fast: true
matrix:
ruby: [2.7, '3.0', 3.1, 3.2]
ruby: ["2.7", '3.0', "3.1", "3.2", "3.3"]
gemfile:
- sidekiq_7.0
- sidekiq_7.1
- sidekiq_7.2

steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 2.4.12
bundler-cache: true
- run: >-
REDIS_HOST=localhost
Expand Down
8 changes: 8 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@
appraise "sidekiq-7.0" do
gem "sidekiq", "~> 7.0.0"
end

appraise "sidekiq-7.1" do
gem "sidekiq", "~> 7.1.0"
end

appraise "sidekiq-7.2" do
gem "sidekiq", "~> 7.2.0"
end
28 changes: 28 additions & 0 deletions gemfiles/sidekiq_7.1.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 "appraisal"
gem "faraday-retry"
gem "gem-release"
gem "github-markup"
gem "rack-test"
gem "rake", "13.0.3"
gem "reek", ">= 5.3"
gem "rspec"
gem "rspec-benchmark"
gem "rspec-html-matchers"
gem "rspec-its"
gem "rubocop-mhenrixon"
gem "simplecov-sublime", ">= 0.21.2", require: false
gem "sinatra"
gem "timecop"
gem "toxiproxy"
gem "yard"
gem "sidekiq", "~> 7.0.0"

platforms :mri do
gem "concurrent-ruby-ext"
end

gemspec path: "../"
28 changes: 28 additions & 0 deletions gemfiles/sidekiq_7.2.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 "appraisal"
gem "faraday-retry"
gem "gem-release"
gem "github-markup"
gem "rack-test"
gem "rake", "13.0.3"
gem "reek", ">= 5.3"
gem "rspec"
gem "rspec-benchmark"
gem "rspec-html-matchers"
gem "rspec-its"
gem "rubocop-mhenrixon"
gem "simplecov-sublime", ">= 0.21.2", require: false
gem "sinatra"
gem "timecop"
gem "toxiproxy"
gem "yard"
gem "sidekiq", "~> 7.0.0"

platforms :mri do
gem "concurrent-ruby-ext"
end

gemspec path: "../"

0 comments on commit 413baac

Please sign in to comment.