Skip to content

Commit c27bc21

Browse files
committed
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

+1
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)