Skip to content

chore: remove validators #369

chore: remove validators

chore: remove validators #369

Workflow file for this run

name: "Tests"
on: [pull_request]
jobs:
lint:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Setup Docker
run: docker compose up -d --build
- name: Wait for Server to be ready
run: sleep 10
- name: Run unit Tests
run: docker compose exec swoole vendor/bin/phpunit --configuration phpunit.xml --testsuite=unit
- name: Run FPM Tests
run: docker compose exec fpm vendor/bin/phpunit --configuration phpunit.xml --group=fpm
- name: Run Swoole Tests
run: docker compose exec swoole vendor/bin/phpunit --configuration phpunit.xml --group=swoole
- name: Run Swoole Corotuine Tests
run: docker compose exec swoole-coroutine vendor/bin/phpunit --configuration phpunit.xml --group=swoole-coroutine