Skip to content

wip

wip #9

Workflow file for this run

name: queues
on:
push:
branches:
- master
- '*.x'
- 'queue-tests-ci'
pull_request:
jobs:
redis:
runs-on: ubuntu-22.04
services:
redis:
image: redis:7.0
ports:
- 6379:6379
options: --entrypoint redis-server
strategy:
fail-fast: true
name: Redis
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr
tools: composer:v2
coverage: none
- name: Install dependencies
uses: nick-fields/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit tests/Integration/Queue
env:
QUEUE_CONNECTION: redis