Skip to content

Test against ruby 3.3 #9

Test against ruby 3.3

Test against ruby 3.3 #9

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
# Run the linter first for rapid feedback if some trivial stylistic issues
# slipped through the cracks.
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- run: bundle exec rubocop
test:
needs: lint
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
ruby: ["2.7", "3.3"]
gemfile: [sidekiq_6, sidekiq_7, sidekiq_head]
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the test suite
run: bundle exec rake test