Skip to content

enable xdebug ci

enable xdebug ci #5

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- main
pull_request:
branches: ["main"]
jobs:
phpunit:
name: phpunit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
- name: Install composer dependencies
run: composer install -n --prefer-dist
- name: Run Static Analysis
run: ./vendor/bin/phpunit --coverage-clover ./coverage.xml
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}