From 865203fa498c4ca7fc2c726cae216abab04f0f04 Mon Sep 17 00:00:00 2001 From: Piotr Synowiec Date: Thu, 28 Dec 2023 12:43:55 +0100 Subject: [PATCH] action-php-8.3: added text test coverage --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e131b1..9e8b2af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,8 +44,11 @@ jobs: - name: Coding standard (PHP ${{ matrix.php }}) run: php${{ matrix.php }} ./vendor/bin/ecs check src tests - - name: Code coverage + - name: Code coverage - clover run: php${{ matrix.php }} -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-clover=var/coverage.xml + - name: Code coverage - text + run: php${{ matrix.php }} -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-text + - name: Fix code coverage paths run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' var/coverage.xml