Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c27bc21

Browse files
committedFeb 5, 2025··
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.
1 parent fc1f7c0 commit c27bc21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148
run: php "vendor/bin/phpunit" tests/AllTests.php --no-coverage
149149

150150
- name: 'PHPUnit: run select tests in CBF mode'
151+
if: ${{ matrix.skip_tests != true }}
151152
run: php "vendor/bin/phpunit" tests/AllTests.php --group CBF --exclude-group nothing --no-coverage
152153
env:
153154
PHP_CODESNIFFER_CBF: '1'

0 commit comments

Comments
 (0)