Installing different versions of phpunit with different versions of php
This commit is contained in:
parent
828f8d9c0d
commit
45eabee632
1 changed files with 9 additions and 1 deletions
10
.github/workflows/woo.yml
vendored
10
.github/workflows/woo.yml
vendored
|
@ -26,30 +26,38 @@ jobs:
|
|||
wp: '5.3'
|
||||
wc: '5.4.3'
|
||||
coverage: 1
|
||||
phpunit: 'phpunit:6.4.3'
|
||||
- php-version: '7.0'
|
||||
wp: '5.3'
|
||||
wc: '6.4.0'
|
||||
phpunit: 'phpunit:6.4.3'
|
||||
- php-version: '7.4'
|
||||
wp: '5.3'
|
||||
wc: '5.4.3'
|
||||
phpunit: 'phpunit:8.2.3'
|
||||
- php-version: '7.4'
|
||||
wp: '5.3'
|
||||
wc: '6.4.0'
|
||||
phpunit: 'phpunit:8.2.3'
|
||||
|
||||
# WordPress 6.0
|
||||
# PHP 7.0 and 7.4
|
||||
- php-version: '7.0'
|
||||
wp: '6.0'
|
||||
wc: '5.4.3'
|
||||
phpunit: 'phpunit:6.4.3'
|
||||
- php-version: '7.0'
|
||||
wp: '6.0'
|
||||
wc: '6.4.0'
|
||||
phpunit: 'phpunit:6.4.3'
|
||||
- php-version: '7.4'
|
||||
wp: '6.0'
|
||||
wc: '5.4.3'
|
||||
phpunit: 'phpunit:8.2.3'
|
||||
- php-version: '7.4'
|
||||
wp: '6.0'
|
||||
wc: '6.4.0'
|
||||
phpunit: 'phpunit:8.2.3'
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
|
@ -66,7 +74,7 @@ jobs:
|
|||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
tools: composer:2.1.14, phpunit:6.5.14
|
||||
tools: composer:2.1.14, ${{ matrix.phpunit }}
|
||||
extensions: gd, mbstring, mysqli, zip, unzip, mcrypt, mysql, pdo_mysql, dom
|
||||
coverage: xdebug
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue