mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Use an early version of Api-platform with symfony 6 support in one test case
This commit is contained in:
parent
46822918a8
commit
e15f3d272a
11
.github/workflows/continuous-integration.yml
vendored
11
.github/workflows/continuous-integration.yml
vendored
@ -34,6 +34,9 @@ jobs:
|
|||||||
symfony-require: "5.4.*"
|
symfony-require: "5.4.*"
|
||||||
- php-version: 8.1
|
- php-version: 8.1
|
||||||
symfony-require: "5.4.*"
|
symfony-require: "5.4.*"
|
||||||
|
- php-version: 8.1
|
||||||
|
symfony-require: "5.4.*"
|
||||||
|
api-platform: "early"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
@ -58,6 +61,14 @@ jobs:
|
|||||||
path: ${{ steps.composercache.outputs.dir }}
|
path: ${{ steps.composercache.outputs.dir }}
|
||||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
||||||
restore-keys: ${{ runner.os }}-composer-
|
restore-keys: ${{ runner.os }}-composer-
|
||||||
|
|
||||||
|
- name: "Use an early version of Api-platform with symfony 6 support"
|
||||||
|
if: ${{ matrix.api-platform == 'early' }}
|
||||||
|
env:
|
||||||
|
SYMFONY_REQUIRE: "${{ matrix.symfony-require }}"
|
||||||
|
run: |
|
||||||
|
composer config repositories.api-platform git https://github.com/PierreRebeilleau/core.git
|
||||||
|
composer require api-platform/core:dev-test-compatibility --no-update --dev
|
||||||
|
|
||||||
- name: "Install dependencies with composer"
|
- name: "Install dependencies with composer"
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user