Skip to content

Commit 01759a4

Browse files
committed
Fix nightly
1 parent f106a65 commit 01759a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/reusable-CI-workflow.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,16 @@ jobs:
252252
php-version: ${{ needs.fetch-supported-versions.outputs.php-next }}
253253
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-min }}
254254
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
255-
pkg-extra-constraints: behat/gherkin:~4.12.0
255+
# Fix - symfony/yaml => Avoid issue between symfony/yaml and symfony/framework-bundle (not compatible with some versions due to incomplete function signatures)
256+
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-min == '5.4' && needs.fetch-supported-versions.outputs.php-next == '8.5' ) && 'symfony/yaml:~6.4.0' || '' }}
256257
- job-name: Symfony with highest supported PHP version
257258
php-version: ${{ needs.fetch-supported-versions.outputs.php-max }}
258259
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
259260
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
260261
pkg-extra-constraints: behat/gherkin:~4.12.0
261262
- job-name: Symfony with lowest supported PHP version
262-
php-version: ${{ needs.fetch-supported-versions.outputs.php-min }}
263+
# Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
264+
php-version: ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.1' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
263265
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
264266
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
265267
pkg-extra-constraints: behat/gherkin:~4.12.0

0 commit comments

Comments
 (0)