Skip to content

Use serialized opts for calling set before enqueueing #55

Use serialized opts for calling set before enqueueing

Use serialized opts for calling set before enqueueing #55

Workflow file for this run

# This workflow uses actions that are not certified by GitHub. They are
# provided by a third-party and are governed by separate terms of service,
# privacy policy, and support documentation.
#
# This workflow will install a prebuilt Ruby version, install dependencies, and
# run tests and linters.
name: "Tests"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "**" ]
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: redis:6-alpine
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379
env:
BUNDLE_VERSION: "~> 2.1.4"
BUNDLE_GEMS__CONTRIBSYS__COM: ${{ secrets.BUNDLE_GEMS__CONTRIBSYS__COM }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.5'
bundler-cache: true
- name: Run tests
run: |
bundle exec rake ci:specs