Skip to content

Commit 7a5056a

Browse files
committed
Fix continue-on-error evaluation in unit tests
- Change from matrix.experimental to matrix.experimental == true - Prevents 'Unexpected value' error when experimental is undefined - Handles both defined (true/false) and undefined cases correctly
1 parent 6dae74e commit 7a5056a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ jobs:
3838
- php: '8.4'
3939
wp: 'latest'
4040
experimental: true
41+
4142
name: "PHP ${{ matrix.php }} - WP ${{ matrix.wp }}"
4243

43-
continue-on-error: ${{ matrix.experimental }}
44+
continue-on-error: ${{ matrix.experimental == true }}
4445

4546
services:
4647
mysql:

0 commit comments

Comments
 (0)