Skip to content

Commit 4e00e81

Browse files
committed
Exclude failing macOS PHP 8.5 Behat job from test matrix
The upstream wp-cli/.github reusable testing workflow includes a PHP 8.5 / macos-latest / SQLite Behat matrix entry. shivammathur/setup-php has no working PHP 8.5 build for macOS yet, so PHP setup fails immediately (php: command not found) and the job errors before any tests run. Add an exclude rule for os: macos-latest to the matrix input, alongside the existing windows-latest exclusion. This drops only the broken macOS job while keeping all Ubuntu coverage intact.
1 parent 560eda8 commit 4e00e81

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/testing.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ jobs:
1212
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@5a55e811a46f1ac4946dbd337b74ea7f23ebe014 # main
1313
with:
1414
minimum-php: "7.4"
15-
matrix: '{ "exclude": [{ "os": "windows-latest" }] }'
15+
# Exclude windows-latest entirely, and the macos-latest entry whose
16+
# PHP 8.5 setup fails (shivammathur/setup-php has no working PHP 8.5
17+
# build for macOS yet).
18+
matrix: '{ "exclude": [{ "os": "windows-latest" }, { "os": "macos-latest" }] }'

0 commit comments

Comments
 (0)