enqueue-multi compatibility fixes #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
test: | |
continue-on-error: true | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
# Set health checks to wait until redis has started | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- "3.0" | |
- "3.1" | |
- "3.2" | |
- "3.3" | |
resque-version: | |
# - "master" | |
- "~> 2.6" | |
- "~> 1.27" | |
rufus-scheduler: | |
# - "~> 3.6.0" | |
# - "~> 3.7.0" | |
# - "~> 3.8.0" | |
- "~> 3.9" | |
redis-version: | |
- "~> 3.3" | |
- "~> 4.8" | |
- "~> 5.2" | |
exclude: | |
# redis 5 / resque 1 don't get along | |
- resque-version: "~> 1.27" | |
redis-version: "~> 5.2" | |
env: | |
REDIS_VERSION: "${{ matrix.redis-version }}" | |
RESQUE: "${{ matrix.resque-version }}" | |
RUFUS_SCHEDULER: "${{ matrix.rufus-scheduler }}" | |
COVERAGE: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "${{ matrix.ruby-version }}" | |
bundler-cache: true | |
- run: bundle exec rake | |
- run: bin/bundle_console_test.sh |