Skip to content

re-add the right license #23

re-add the right license

re-add the right license #23

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
workflow_dispatch:
env:
COVERAGE_THRESHOLD: 35
jobs:
Test:
runs-on: ubuntu-latest
container: gbxyz/openswoole:php82
steps:
- uses: actions/checkout@v3
- name: install pcov
run: apt-get -qqq install php8.2-pcov
- name: run composer install
run: composer install --dev
- name: lint
run: |
find . -not -path '*/vendor/*' \
\( -name '*.php' -o -name rdapd \) \
-exec php -l {} \;
- name: phpstan
run: ./vendor/bin/phpstan --no-progress --error-format=github --memory-limit=-1 analyze
- name: pest
run: ./vendor/bin/pest --no-progress --coverage --coverage-text
- name: coverage check
run: vendor/bin/coverage-check clover.xml $COVERAGE_THRESHOLD