Skip to content

Commit

Permalink
Use an early version of Api-platform with symfony 6 support in one te…
Browse files Browse the repository at this point in the history
…st case
  • Loading branch information
GuilhemN committed Dec 21, 2021
1 parent 4682291 commit e15f3d2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
symfony-require: "5.4.*"
- php-version: 8.1
symfony-require: "5.4.*"
- php-version: 8.1
symfony-require: "5.4.*"
api-platform: "early"

steps:
- name: "Checkout"
Expand All @@ -58,6 +61,14 @@ jobs:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
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"
env:
Expand Down

0 comments on commit e15f3d2

Please sign in to comment.