From edf02cf51c6ffb2570e7f1ce06841ab2aadb5887 Mon Sep 17 00:00:00 2001 From: Bas Kamer Date: Fri, 6 Jan 2023 12:15:08 +0100 Subject: [PATCH] fix coverage --- .github/workflows/test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5d1356..c3155b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,8 +18,6 @@ jobs: - "8.2" - "8.1" - "8.0" - composer: - - "v2" steps: - name: "Checkout" @@ -28,7 +26,6 @@ jobs: uses: "shivammathur/setup-php@v2" with: php-version: "${{ matrix.php-version }}" - tools: "composer:${{ matrix.composer }}" ini-values: zend.assertions=1,assert.exception=1 - name: "Install dependencies" run: "composer update --no-interaction" @@ -46,11 +43,11 @@ jobs: with: php-version: "8.0" tools: "composer:v2" - coverage: "pcov" + ini-values: zend.assertions=1,assert.exception=1 - name: "Install dependencies" run: "composer update --no-interaction" - name: "Install coveralls" - run: "composer require --dev php-coveralls/php-coveralls" + run: "composer require --dev php-coveralls/php-coveralls:^2.0 --with-all-dependencies" - name: "Generate coverage" run: "vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml --configuration ./phpunit.xml.dist" - name: "Publish coverage"