Skip to content

Action.

Action. #12

Workflow file for this run

name: tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.3]
steps:

Check failure on line 14 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- name: Checkout Code
uses: actions/checkout@v4
- name: setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer
coverage: xdebug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run composer
run: composer install --no-progress
- name: Run phpunit
run: vendor/bin/phpunit --coverage-clover ./coverage.xml
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODE_COV_TOKEN }}