* Fix tests

* tes

* Remove api-platform hack
This commit is contained in:
Guilhem Niot 2022-09-25 19:47:49 +02:00 committed by GitHub
parent 0befc16cb5
commit 9286903c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 9 deletions

View File

@ -61,14 +61,6 @@ 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:

View File

@ -49,7 +49,7 @@
"symfony/validator": "^4.4|^5.2|^6.0",
"api-platform/core": "^2.7.0",
"symfony/deprecation-contracts": "^2.7|^3.1",
"symfony/deprecation-contracts": "^2.1|^3",
"friendsofsymfony/rest-bundle": "^2.8|^3.0",
"willdurand/hateoas-bundle": "^1.0|^2.0",