Skip to content

Release 0.3.0

Release 0.3.0 #17

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.2
bundler-cache: true
- run: bundle exec rubocop
test:
needs: lint
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
postgres:
image: postgres
env:
POSTGRES_DB: job_enqueue_logger_test
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
strategy:
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2"]
gemfile: [sidekiq_6, sidekiq_7, sidekiq_head, resque_2, resque_head, delayed_job_4, delayed_job_head, sucker_punch_3, sucker_punch_head,
que_2, que_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