From 0cf9ad6b943b9b1a5e1554741969357c88ca2604 Mon Sep 17 00:00:00 2001 From: Piotr Synowiec Date: Thu, 28 Dec 2023 12:57:07 +0100 Subject: [PATCH] action-php-8.3: tweaking code coverage --- .github/workflows/ci.yml | 2 +- phpunit.xml.dist | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f580b49..2ccba4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: run: php${{ matrix.php }} ./vendor/bin/ecs check src tests - name: Code coverage - run: php${{ matrix.php }} -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-text + run: php${{ matrix.php }} -d xdebug.mode=coverage ./vendor/bin/phpunit - name: Fix code coverage paths run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' var/coverage.xml diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6a9b19a..8a236d3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -17,6 +17,7 @@ +