Skip to content

Commit

Permalink
CI: Reduce matrix versions
Browse files Browse the repository at this point in the history
Highest and lowest versions of PHP 7, and PHP 8.
Highest and lowest versions of WP, plus trunk.
  • Loading branch information
GaryJones committed Jul 23, 2023
1 parent 43c4136 commit b38e1e5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,23 @@ jobs:

strategy:
matrix:
php: [ '7.1', '7.2', '7.3', '7.4', '8.0' ]
wordpress: [ '5.7', '5.8', '5.9', '6.0', '6.1', '6.2' ]
php: [ '7.1', '7.4', '8.0', '8.2' ]
wordpress: [ '5.7', '6.2' ]
allowed_failure: [ false ]
include:
- php: "8.0"
- php: '8.0'
# Ignore platform requirements, so that PHPUnit 7.5 can be installed on PHP 8.0 (and above).
composer-options: "--ignore-platform-reqs"
composer-options: '--ignore-platform-reqs'
extensions: pcov
ini-values: pcov.directory=., "pcov.exclude=\"~(vendor|tests)~\""
coverage: pcov
allowed_failure: false
- php: '8.2'
wordpress: 'trunk'
allowed_failure: true
exclude:
- php: '8.2'
wordpress: '6.0'
fail-fast: false

steps:
Expand Down

0 comments on commit b38e1e5

Please sign in to comment.