Skip to content

Expose timeout for lock via environment variable configuration #242

Expose timeout for lock via environment variable configuration

Expose timeout for lock via environment variable configuration #242

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
continue-on-error: true
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
fail-fast: false
matrix:
ruby-version:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- "3.0"
- 3.1
- 3.2
resque-version:
- "master"
- "~> 2.4.0"
- "~> 1.27"
rufus-scheduler:
- "3.2"
- "3.4"
- "3.5"
- "3.6"
redis-version:
- "~> 4.x"
- "~> 5.x"
exclude:
- ruby-version: head
rufus-scheduler: 3.2
- ruby-version: 3.2
rufus-scheduler: 3.2
- ruby-version: 2.3
resque-version: "~> 1.27"
rufus-scheduler: 3.4
- ruby-version: 2.3
resque-version: "~> 1.27"
rufus-scheduler: 3.5
- ruby-version: 2.5
resque-version: "~> 2.4.0"
rufus-scheduler: 3.5
- ruby-version: 2.5
resque-version: master
rufus-scheduler: 3.2
- ruby-version: 2.3
redis-version: "~> 5.x"
- ruby-version: 2.4
redis-version: "~> 5.x"
- resque-version: "~> 1.27"
redis-version: "~> 5.x"
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