From c27bc210a4a1060e665d0f9e632477744b7f10ab Mon Sep 17 00:00:00 2001 From: jrfnl Date: Wed, 5 Feb 2025 19:05:32 +0100 Subject: [PATCH] GH Actions/test: add missing condition The `skip_tests` matrix condition is used to not duplicate test runs which are run in the code coverage jobs anyway. This condition was missing for the CBF mode test run, while that step is also run in the code coverage job. Fixed now. --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d9d758301..f114833136 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -148,6 +148,7 @@ jobs: run: php "vendor/bin/phpunit" tests/AllTests.php --no-coverage - name: 'PHPUnit: run select tests in CBF mode' + if: ${{ matrix.skip_tests != true }} run: php "vendor/bin/phpunit" tests/AllTests.php --group CBF --exclude-group nothing --no-coverage env: PHP_CODESNIFFER_CBF: '1'