Skip to content

Commit 978bf13

Browse files
committed
Fix
1 parent b363b54 commit 978bf13

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
php-version: '${{ needs.fetch-supported-versions.outputs.php-max }}'
6363
symfony-version: '${{ needs.fetch-supported-versions.outputs.symfony-max }}'
6464
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
65-
pkg-extra-constraints: --with 'behat/gherkin:~4.12.0'
65+
# Fix - yoanm/* - TODO - !! REVERT THIS BEFORE MERGE !! (once an actual version is available)
66+
pkg-extra-constraints: --with 'behat/gherkin:~4.12.0' --with 'yoanm/symfony-jsonrpc-http-server-doc:dev-feature/increase-supported-versions-sf7.0' --with 'yoanm/symfony-jsonrpc-http-server:dev-feature/increase-supported-versions-sf7.0'
6667
- job-name: Up to date versions - Sf 6.4 case
6768
php-version: '${{ needs.fetch-supported-versions.outputs.php-max }}'
6869
symfony-version: '6.4'
@@ -79,6 +80,8 @@ jobs:
7980
# Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
8081
php-version: ${{ ( needs.fetch-supported-versions.outputs.symfony-max == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
8182
symfony-version: '${{ needs.fetch-supported-versions.outputs.symfony-max }}'
83+
# Fix - yoanm/* - TODO - !! REVERT THIS BEFORE MERGE !! (once an actual version is available)
84+
pkg-extra-constraints: --with 'yoanm/symfony-jsonrpc-http-server-doc:dev-feature/increase-supported-versions-sf7.0' --with 'yoanm/symfony-jsonrpc-http-server:dev-feature/increase-supported-versions-sf7.0'
8285
- job-name: Late Symfony migration # => Lowest symfony version with highest php version allowed by composer config
8386
php-version: '${{ needs.fetch-supported-versions.outputs.php-max }}'
8487
symfony-version: '${{ needs.fetch-supported-versions.outputs.symfony-min }}'
@@ -216,6 +219,7 @@ jobs:
216219
--with "symfony/config:${SF_CONSTRAINT}" \
217220
--with "symfony/dependency-injection:${SF_CONSTRAINT}" \
218221
--with "symfony/http-kernel:${SF_CONSTRAINT}" \
222+
--with 'yoanm/symfony-jsonrpc-http-server-doc:dev-feature/increase-supported-versions-sf7.0' --with 'yoanm/symfony-jsonrpc-http-server:dev-feature/increase-supported-versions-sf7.0' \
219223
&& make build
220224
221225
- name: ComposerRequireChecker
@@ -243,24 +247,30 @@ jobs:
243247
php-version: ${{ needs.fetch-supported-versions.outputs.php-next }}
244248
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-max }}
245249
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
246-
pkg-extra-constraints: behat/gherkin:~4.12.0
250+
# Fix - yoanm/* - TODO - !! REVERT THIS BEFORE MERGE !! (once an actual version is available)
251+
pkg-extra-constraints: behat/gherkin:~4.12.0 yoanm/symfony-jsonrpc-http-server-doc:dev-feature/increase-supported-versions-sf7.0 yoanm/symfony-jsonrpc-http-server:dev-feature/increase-supported-versions-sf7.0
247252
- job-name: PHP with lowest supported Symfony versions
248253
php-version: ${{ needs.fetch-supported-versions.outputs.php-next }}
249254
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-min }}
250255
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
251256
# Fix - symfony/yaml => Avoid issue between symfony/yaml and symfony/framework-bundle (not compatible with some versions due to incomplete function signatures)
252-
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' || '' }}
257+
# Fix - yoanm/* - TODO - !! REVERT THIS BEFORE MERGE !! (once an actual version is available)
258+
pkg-extra-constraints: behat/gherkin:~4.12.0 yoanm/symfony-jsonrpc-http-server-doc:dev-feature/increase-supported-versions-sf7.0 yoanm/symfony-jsonrpc-http-server:dev-feature/increase-supported-versions-sf7.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-min == '5.4' && needs.fetch-supported-versions.outputs.php-next == '8.5' ) && 'symfony/yaml:~6.4.0' || '' }}
253259
- job-name: Symfony with highest supported PHP version
254260
php-version: ${{ needs.fetch-supported-versions.outputs.php-max }}
255261
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
256262
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
257-
pkg-extra-constraints: behat/gherkin:~4.12.0
263+
# Fix - symfony/yaml => Avoid issue between symfony/yaml and symfony/framework-bundle (not compatible with some versions due to incomplete function signatures)
264+
# Fix - yoanm/* - TODO - !! REVERT THIS BEFORE MERGE !! (once an actual version is available)
265+
pkg-extra-constraints: behat/gherkin:~4.12.0 yoanm/symfony-jsonrpc-http-server-doc:dev-feature/increase-supported-versions-sf7.0 yoanm/symfony-jsonrpc-http-server:dev-feature/increase-supported-versions-sf7.0
258266
- job-name: Symfony with lowest supported PHP version
259267
# Fix - Sf 7.1 require php 8.2 minimum !
260268
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 }}
261269
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
262270
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
263-
pkg-extra-constraints: behat/gherkin:~4.12.0
271+
# Fix - yoanm/* - TODO - !! REVERT THIS BEFORE MERGE !! (once an actual version is available)
272+
# Fix - yoanm/* - TODO - !! REVERT THIS BEFORE MERGE !! (once an actual version is available)
273+
pkg-extra-constraints: behat/gherkin:~4.12.0 yoanm/symfony-jsonrpc-http-server-doc:dev-feature/increase-supported-versions-sf7.0 yoanm/symfony-jsonrpc-http-server:dev-feature/increase-supported-versions-sf7.0
264274

265275
steps:
266276
- name: Check out code

0 commit comments

Comments
 (0)