From 8623a0bc95fcb0f8ed4f9244d9acd6302a7b3ae4 Mon Sep 17 00:00:00 2001 From: Tomas Norre Mikkelsen Date: Fri, 31 Jan 2025 18:31:18 +0100 Subject: [PATCH] ci: remove coverage on tests where not needed, to speed up tests --- .github/workflows/DBMS.yml | 4 ++++ .github/workflows/Tests.yml | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/DBMS.yml b/.github/workflows/DBMS.yml index 7323729de..fbf43e53c 100644 --- a/.github/workflows/DBMS.yml +++ b/.github/workflows/DBMS.yml @@ -41,6 +41,7 @@ jobs: with: php-version: ${{ matrix.php }} tools: composer:v2 + coverage: none - name: Install dependencies with typo3/cms-core:${{ matrix.typo3 }} run: | @@ -86,6 +87,7 @@ jobs: with: php-version: ${{ matrix.php }} tools: composer:v2 + coverage: none - name: Install dependencies with typo3/cms-core:${{ matrix.typo3 }} run: | @@ -135,6 +137,7 @@ jobs: with: php-version: ${{ matrix.php }} tools: composer:v2 + coverage: none - name: Install dependencies with typo3/cms-core:${{ matrix.typo3 }} run: | @@ -179,6 +182,7 @@ jobs: with: php-version: ${{ matrix.php }} tools: composer:v2 + coverage: none - name: Install dependencies with typo3/cms-core:${{ matrix.typo3 }} run: | diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index c99d791df..f824732ca 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -46,6 +46,7 @@ jobs: with: php-version: ${{ matrix.php }} tools: composer:v2 + coverage: none - name: Environment Check run: | @@ -67,12 +68,12 @@ jobs: - name: Unit Tests run: | export "UNIT_XML"=Tests/UnitTests.xml - .Build/bin/phpunit --coverage-filter Classes --coverage-clover=unittest-coverage.clover --colors -c $UNIT_XML Tests/Unit + .Build/bin/phpunit --colors -c $UNIT_XML Tests/Unit - name: Functional Tests run: | export "FUNCTIONAL_XML"=Tests/FunctionalTests.xml - .Build/bin/phpunit --coverage-filter Classes --coverage-clover=functional-coverage.clover --colors -c $FUNCTIONAL_XML Tests/Functional --process-isolation + .Build/bin/phpunit --colors -c $FUNCTIONAL_XML Tests/Functional --process-isolation env: typo3DatabaseHost: 127.0.0.1 typo3DatabaseName: typo3