Skip to content

Commit 1e5b3bb

Browse files
committed
up: action limit the phpunit version on php 7.2
1 parent 1e44c13 commit 1e5b3bb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/php.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
php: [7.2, 7.3, 7.4, 8.0] #
18+
php: [7.3, 7.4, 8.0] #
1919
os: [ubuntu-latest, macOS-latest] # windows-latest,
20+
include:
21+
- os: 'ubuntu-latest'
22+
php: '7.2'
23+
phpunit: '8.5.13'
2024

2125
steps:
2226
- name: Checkout
@@ -37,7 +41,7 @@ jobs:
3741
uses: shivammathur/setup-php@v2
3842
with:
3943
php-version: ${{ matrix.php}}
40-
tools: pecl, php-cs-fixer, phpunit
44+
tools: pecl, php-cs-fixer, phpunit:${{ matrix.phpunit }}
4145
extensions: mbstring, dom, fileinfo, mysql, openssl, igbinary, redis # , swoole-4.4.19 #optional, setup extensions
4246
ini-values: post_max_size=56M, short_open_tag=On #optional, setup php.ini configuration
4347
coverage: none #optional, setup coverage driver: xdebug, none

0 commit comments

Comments
 (0)