From 3b4b544e2c0a68dad4f14e1f450949ddabe16756 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 18 Oct 2022 19:38:45 +0200 Subject: [PATCH] [TASK] Switch the coverage on CI from Xdebug to PCOV (#648) This greatly improves performance. Also make the Composer version in the Coverage CI job less specific. --- .github/workflows/codecoverage.yml | 7 ++++--- CHANGELOG.md | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml index 984a233..a69063c 100644 --- a/.github/workflows/codecoverage.yml +++ b/.github/workflows/codecoverage.yml @@ -22,9 +22,10 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php-version }}" - tools: composer:v2.4 - extensions: xdebug, mysqli - coverage: xdebug + tools: composer:v2, phive + extensions: mysqli + coverage: pcov + ini-values: pcov.directory=Classes - name: "Show Composer version" run: composer --version - name: "Cache dependencies installed with composer" diff --git a/CHANGELOG.md b/CHANGELOG.md index 22fd793..22a21ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). - Add `.gitignore` entry for JetBrains Fleet editor (#642) ### Changed +- Switch the coverage on CI from Xdebug to PCOV (#648) - Upgrade to `helmich/typo3-typoscript-lint` V3 (#645) - Upgrade to the testing framework v7 (#629) - Make the TCA ready for TYPO3 v12 (#625)