Skip to content

Fix detection of ActiveJob (#510) #488

Fix detection of ActiveJob (#510)

Fix detection of ActiveJob (#510) #488

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "ruby-head"]
sidekiq: ["~> 6", "~> 7"]
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
env:
SIDEKIQ_VERSION: "${{ matrix.sidekiq }}"
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # 'bundle install' and cache gems
ruby-version: ${{ matrix.ruby }}
- name: Run tests
run: bundle exec rake test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3