Skip to content

Remove ignored @test annotations from Redis cache tests #1674

Remove ignored @test annotations from Redis cache tests

Remove ignored @test annotations from Redis cache tests #1674

Workflow file for this run

name: reverb
on:
push:
branches:
- 0.4
pull_request:
permissions:
contents: read
jobs:
reverb:
runs-on: ubuntu-latest
timeout-minutes: 10
env:
REDIS_HOST: redis
REDIS_PORT: 6379
# Keep shared Reverb server state in database 1.
REDIS_REVERB_DB: 1
services:
redis:
image: redis:8
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
container:
image: ghcr.io/hypervel/components-ci:php${{ matrix.php }}-swoole6.3.0-rc1
strategy:
fail-fast: false
matrix:
php: ["8.4", "8.5"]
name: Reverb Integration Tests (PHP ${{ matrix.php }})
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Log trigger context
uses: ./.github/actions/log-trigger-context
- name: Install dependencies
run: COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist -n -o
- name: Start Reverb test servers
uses: ./.github/actions/start-test-servers
with:
group: reverb
- name: Execute Reverb integration tests
env:
REDIS_DB: 0
# The test database allocator excludes its configured secondary
# database from ParaTest workers. Keep this aligned with
# REDIS_REVERB_DB so cleanup cannot flush shared Reverb state.
REDIS_TEST_SECONDARY_DB: 1
TEST_SERVER_HOST: 127.0.0.1
# Cap ParaTest's auto-detected workers to the 15 unreserved databases.
run: vendor/bin/paratest --max-processes=15 tests/Integration/Reverb