Ignored platform req during roadrunner API tests in CI workflow when using PHP 8.2

This commit is contained in:
Alejandro Celaya 2022-09-24 08:14:52 +02:00
parent 0871ca884e
commit e5107c40f9

View File

@ -52,7 +52,10 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
tools: composer
- run: composer install --no-interaction --prefer-dist
- run: echo "::set-output name=composerArgs::${{ inputs.php-version == '8.2' && '--ignore-platform-req=php' || '' }}"
id: composer_args
shell: bash
- run: composer install --no-interaction --prefer-dist ${{ steps.composer_args.outputs.composerArgs }}
- run: ./vendor/bin/rr get --no-interaction --location bin/ && chmod +x bin/rr
- run: composer test:api:rr