Skip to content

Add tests

Add tests #1

Workflow file for this run

name: Test

Check failure on line 1 in .github/workflows/php-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/php-tests.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: check-skip
on: push
jobs:
check-skip:
runs-on: ubuntu-latest
run-tests:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: pcov
- name: Install Project Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: PHPUnit
run: php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude="~vendor~" ./vendor/bin/phpunit --coverage-clover=coverage.xml