Skip to content

Commit 20d2ae6

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 a712540 commit 20d2ae6

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
@@ -120,6 +120,7 @@ jobs:
120120
run: php "vendor/bin/phpunit" --no-coverage
121121

122122
- name: 'PHPUnit: run select tests in CBF mode'
123+
if: ${{ matrix.skip_tests != true }}
123124
run: php "vendor/bin/phpunit" tests/AllTests.php --group CBF --exclude-group nothing --no-coverage
124125
env:
125126
PHP_CODESNIFFER_CBF: '1'

0 commit comments

Comments
 (0)