Skip to content

Sync Laravel updates: refreshed attributes, model defaults and queue fixes #1321

Sync Laravel updates: refreshed attributes, model defaults and queue fixes

Sync Laravel updates: refreshed attributes, model defaults and queue fixes #1321

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.2.2
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: Cache Composer dependencies
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: /root/.composer/cache
key: composer-${{ matrix.php }}-${{ hashFiles('composer.lock') }}
restore-keys: composer-${{ matrix.php }}-
- 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