Skip to content

feat: replace undertow_on_drain with multi-sink dispatch #35

feat: replace undertow_on_drain with multi-sink dispatch

feat: replace undertow_on_drain with multi-sink dispatch #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
suite: [memory, redis]
services:
redis:
image: redis:7-alpine
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping" --health-interval 5s --health-timeout 5s
--health-retries 20
env:
UNDERTOW_TEST_REDIS_URL: redis://127.0.0.1:6379/15
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Run default suite (memory)
if: matrix.suite == 'memory'
run: bundle exec rspec --exclude-pattern "spec/undertow/store/*_store_spec.rb"
- name: Run Redis adapter contract specs
if: matrix.suite == 'redis'
run: RUN_REDIS_SPECS=1 bundle exec rspec spec/undertow/store/redis_store_spec.rb