From 0e58d1a242a21babb15d3658aaa10d003d112dd1 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 13 Dec 2020 11:37:45 +0100 Subject: [PATCH] Added pcov as code coverage driver in github action --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6baae37..4ad1809e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,8 @@ jobs: php-version: ${{ matrix.php-version }} tools: composer extensions: swoole-4.5.9 + coverage: pcov + ini-values: pcov.directory=module - if: ${{ matrix.php-version == '8.0' }} run: composer install --no-interaction --prefer-dist --ignore-platform-req=php - if: ${{ matrix.php-version != '8.0' }} @@ -61,6 +63,8 @@ jobs: php-version: ${{ matrix.php-version }} tools: composer extensions: swoole-4.5.9 + coverage: pcov + ini-values: pcov.directory=module - if: ${{ matrix.php-version == '8.0' }} run: composer install --no-interaction --prefer-dist --ignore-platform-req=php - if: ${{ matrix.php-version != '8.0' }} @@ -110,6 +114,8 @@ jobs: php-version: ${{ matrix.php-version }} tools: composer extensions: swoole-4.5.9 + coverage: pcov + ini-values: pcov.directory=module - if: ${{ matrix.php-version == '8.0' }} run: composer install --no-interaction --prefer-dist --ignore-platform-req=php - if: ${{ matrix.php-version != '8.0' }}