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:
1414 working-directory :
1515 description : " The directory where composer.json is located, if it is not in the repository root."
1616 required : false
17+ ignore-platform-req :
18+ description : " Whether to ignore platform requirements when installing dependencies with Composer."
19+ required : false
20+ default : " false"
1721
1822runs :
1923 using : composite
4953 - name : Install dependencies with Composer
5054 uses : ramsey/composer-install@3.0.0
5155 with :
52- composer-options : " --no-suggest"
56+ composer-options : " --no-suggest ${{ inputs.ignore-platform-req == 'true' && '--ignore-platform-req=php+' || '' }} "
5357 working-directory : " ${{ inputs.working-directory }}"
Original file line number Diff line number Diff line change 3131 - " 8.2"
3232 - " 8.3"
3333 - " 8.4"
34+ - " 8.5"
3435 mongodb-version :
3536 - " 8.0"
3637 topology :
8384 php-version : ${{ matrix.php-version }}
8485 driver-version : ${{ env.DRIVER_VERSION }}
8586 php-ini-values : " zend.assertions=1"
87+ ignore-platform-req : ${{ matrix.php-version == '8.5' && 'true' || 'false' }}
8688
8789 - name : " Run PHPUnit"
8890 run : " vendor/bin/phpunit --configuration phpunit.evergreen.xml --coverage-clover coverage.xml"
You can’t perform that action at this time.
0 commit comments