File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ inputs:
14
14
working-directory :
15
15
description : " The directory where composer.json is located, if it is not in the repository root."
16
16
required : false
17
+ ignore-platform-req :
18
+ description : " Whether to ignore platform requirements when installing dependencies with Composer."
19
+ required : false
20
+ default : " false"
17
21
18
22
runs :
19
23
using : composite
49
53
- name : Install dependencies with Composer
50
54
51
55
with :
52
- composer-options : " --no-suggest"
56
+ composer-options : " --no-suggest ${{ inputs.ignore-platform-req == 'true' && '--ignore-platform-req=php+' || '' }} "
53
57
working-directory : " ${{ inputs.working-directory }}"
Original file line number Diff line number Diff line change 31
31
- " 8.2"
32
32
- " 8.3"
33
33
- " 8.4"
34
+ - " 8.5"
34
35
mongodb-version :
35
36
- " 8.0"
36
37
topology :
83
84
php-version : ${{ matrix.php-version }}
84
85
driver-version : ${{ env.DRIVER_VERSION }}
85
86
php-ini-values : " zend.assertions=1"
87
+ ignore-platform-req : ${{ matrix.php-version == '8.5' && 'true' || 'false' }}
86
88
87
89
- name : " Run PHPUnit"
88
90
run : " vendor/bin/phpunit --configuration phpunit.evergreen.xml --coverage-clover coverage.xml"
You can’t perform that action at this time.
0 commit comments