Skip to content

Commit

Permalink
CI: Update tested versions
Browse files Browse the repository at this point in the history
Doesn't make sense to test WP versions would unsupported PHP versions (e.g. WP 5.9 with PHP 8.3).
  • Loading branch information
GaryJones committed Apr 26, 2024
1 parent a6f2bb5 commit fa6df03
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,23 @@ jobs:

strategy:
matrix:
wordpress: [ '5.9', '6.5' ]
php: [ '7.4', 'latest' ]
allowed_failure: [ false ]
include:
# Check lowest supported WP version, with the lowest supported PHP.
- wordpress: '5.9'
php: '7.4'
allowed_failure: false
# Check latest WP with the highest supported PHP.
- wordpress: 'latest'
php: 'latest'
allowed_failure: false
# Check upcoming WP.
- php: 'latest'
wordpress: 'trunk'
allowed_failure: true
# Check upcoming PHP.
- php: '8.4'
wordpress: 'latest'
- wordpress: 'trunk'
php: 'latest'
allowed_failure: true
# Check upcoming PHP - only needed when a new version has been forked (typically Sep-Nov)
# - wordpress: 'trunk'
# php: 'nightly'
# allowed_failure: true
fail-fast: false

steps:
Expand Down

0 comments on commit fa6df03

Please sign in to comment.