Skip to content

build Swoole 5.1.6 images #346

build Swoole 5.1.6 images

build Swoole 5.1.6 images #346

Workflow file for this run

name: Tests
on:
push:
pull_request:
branches:
- master
jobs:
ci_tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: true
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: none
-
name: Install dependencies
uses: nick-invision/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
-
name: Run syntax checks
run: ./vendor/bin/php-cs-fixer fix -q --dry-run
-
name: Run unit tests
run: ./vendor/bin/phpunit