Skip to content

Fix tests

Fix tests #2

Workflow file for this run

name: Test
on: push
jobs:
run-tests:
steps:

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

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/php-tests.yml (Line: 7, Col: 5): Required property is missing: runs-on
- 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