Skip to content

Commit 433a200

Browse files
swissspidyclaude
andcommitted
Run unit tests from PHP 7.4 up
The development environment cannot be installed below PHP 7.4: johnpbloch/wordpress-core dev-master requires it, so `composer install` fails on the 7.2 and 7.3 legs of the default matrix before any test runs. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016VDHkafhoHtgAPuYkvgvqh
1 parent bc43aca commit 433a200

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/testing.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ on:
1010
jobs:
1111
test:
1212
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@main
13+
with:
14+
# composer.json still allows PHP 7.2, but the development environment
15+
# cannot be installed below 7.4: johnpbloch/wordpress-core dev-master
16+
# requires it, so `composer install` fails on the 7.2 and 7.3 legs.
17+
minimum-php: '7.4'

0 commit comments

Comments
 (0)