Skip to content

Make sure to remove filter when stop intercepting #9

Make sure to remove filter when stop intercepting

Make sure to remove filter when stop intercepting #9

Workflow file for this run

name: 'Unit Tests'
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
unit-testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: xdebug
tools: composer:2
- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Composer (Annotated Container)
run: composer install
- name: Composer (Testing Tools)
run: cd tools/phpunit && composer install
- name: Unit Testing
env:
XDEBUG_MODE: coverage
run: ./vendor/bin/phpunit