Skip to content

Commit de1297b

Browse files
committed
Fix nightly
1 parent 3d380b1 commit de1297b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ jobs:
6262
- job-name: Up to date versions - Special case - Symfony 5.4
6363
php-version: '${{ inputs.php-max-version }}'
6464
symfony-version: '5.4'
65-
- job-name: Late migration - Symfony # => Lowest symfony version with highest php version allowed by composer config
66-
php-version: '${{ inputs.php-max-version }}'
67-
symfony-version: '${{ inputs.symfony-min-version }}'
6865
## Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
6966
pkg-extra-constraints: behat/gherkin:~4.12.0
7067
- job-name: Bare minimum # => Lowest versions allowed by composer config
@@ -76,6 +73,11 @@ jobs:
7673
- job-name: Late migration - Php # => Highest symfony version with lowest php version allowed by composer config
7774
php-version: '${{ inputs.php-min-version }}'
7875
symfony-version: '${{ inputs.symfony-max-version }}'
76+
- job-name: Late migration - Symfony # => Lowest symfony version with highest php version allowed by composer config
77+
php-version: '${{ inputs.php-max-version }}'
78+
symfony-version: '${{ inputs.symfony-min-version }}'
79+
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
80+
pkg-extra-constraints: behat/gherkin:~4.12.0
7981
steps:
8082
- name: Check out code
8183
uses: actions/checkout@v4
@@ -228,15 +230,23 @@ jobs:
228230
- job-name: PHP Nightly - With highest supported symfony versions
229231
php-version: ${{ inputs.php-next-version }}
230232
symfony-version: ${{ inputs.symfony-max-version }}
233+
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
234+
pkg-extra-constraints: behat/gherkin:~4.12.0
231235
- job-name: PHP Nightly - With lowest supported symfony versions
232236
php-version: ${{ inputs.php-next-version }}
233237
symfony-version: ${{ inputs.symfony-min-version }}
238+
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
239+
pkg-extra-constraints: behat/gherkin:~4.12.0
234240
- job-name: Symfony Nightly - With highest supported php version
235241
php-version: ${{ inputs.php-max-version }}
236242
symfony-version: ${{ inputs.symfony-next-version }}
243+
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
244+
pkg-extra-constraints: behat/gherkin:~4.12.0
237245
- job-name: Symfony Nightly - With lowest supported php version
238246
php-version: ${{ inputs.php-min-version > 8.1 && inputs.php-min-version || '8.1' }} # Fix - Sf 6.3 (current next) require php 8.1 minimum !
239247
symfony-version: ${{ inputs.symfony-next-version }}
248+
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
249+
pkg-extra-constraints: behat/gherkin:~4.12.0
240250

241251
steps:
242252
- name: Check out code

0 commit comments

Comments
 (0)