From 3c3d780a16fab7df0b1fcb6335bb559730c563c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 12 Nov 2024 09:55:05 +0100 Subject: [PATCH] Set up problem matcher for PHPUnit --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d52757..af82083 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,10 @@ jobs: php-version: ${{ matrix.php }} extensions: fileinfo + - name: Setup problem matcher for PHPUnit + run: | + echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" + - name: Debugging run: | php --version @@ -50,9 +54,6 @@ jobs: - name: Run tests with strauss.phar run: vendor/bin/phpunit - - # TODO: get GitHub Actions annotations working again. -# run: vendor/bin/phpunit --printer mheap\\GithubActionsReporter\\Printer lint: runs-on: ubuntu-latest name: Lint project files