45
45
dependency : symfony
46
46
47
47
tests :
48
- name : ${{ matrix.job-name }}
48
+ name : PHP ${{ matrix.php-version }} & Sf ${{ matrix.symfony-version }} - ${{ matrix.job-name }}
49
49
needs : [fetch-supported-versions]
50
50
runs-on : ubuntu-latest
51
51
permissions :
@@ -62,23 +62,23 @@ jobs:
62
62
symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-max }}'
63
63
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
64
64
pkg-extra-constraints : behat/gherkin:~4.12.0
65
- - job-name : Up to date versions - Special case - Symfony 5.4
65
+ - job-name : Up to date versions - Sf 6.4 case
66
66
php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
67
- symfony-version : ' 5 .4'
67
+ symfony-version : ' 6 .4'
68
68
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
69
- # Fix - symfony/yaml - Avoid issue with Sf YAML 6.4+ and Framework bundle
70
- pkg-extra-constraints : behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-max == '6.4' ) && 'symfony/yaml:~6.4.0' || '' }}
69
+ pkg-extra-constraints : behat/gherkin:~4.12.0
71
70
- job-name : Bare minimum # => Lowest versions allowed by composer config
72
71
php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
73
72
symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
74
- - job-name : Bare minimum - Special case - Symfony 5.4
75
- php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
76
- symfony-version : ' 5.4'
77
- - job-name : Late migration - PHP # => Highest symfony version with lowest php version allowed by composer config
73
+ - job-name : Bare minimum - Sf 6.4 case
78
74
# Fix - Sf 6.4 require php 8.1 minimum !
79
- php-version : ${{ ( needs.fetch-supported-versions.outputs.symfony-max == '6.4' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.1' || needs.fetch-supported-versions.outputs.php-min }}
75
+ php-version : ${{ ( needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.1' || needs.fetch-supported-versions.outputs.php-min }}
76
+ symfony-version : ' 6.4'
77
+ - job-name : Late PHP migration # => Highest symfony version with lowest php version allowed by composer config
78
+ # Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
79
+ 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 }}
80
80
symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-max }}'
81
- - job-name : Late migration - Symfony # => Lowest symfony version with highest php version allowed by composer config
81
+ - job-name : Late Symfony migration # => Lowest symfony version with highest php version allowed by composer config
82
82
php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
83
83
symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
84
84
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
@@ -214,7 +214,7 @@ jobs:
214
214
uses : actions/dependency-review-action@v4
215
215
216
216
nightly-tests :
217
- name : Nightly - ${{ matrix.job-name }}
217
+ name : Nightly - PHP ${{ matrix.php-version }} & Sf ${{ matrix.symfony-version }} - ${{ matrix.job-name }}
218
218
needs : [ fetch-supported-versions, tests ]
219
219
if : ${{ github.event_name == 'push' || ( github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'with-nightly-tests') ) }}
220
220
runs-on : ubuntu-latest
@@ -227,29 +227,29 @@ jobs:
227
227
fail-fast : false
228
228
matrix :
229
229
include :
230
- - job-name : PHP - With highest supported Symfony versions
230
+ - job-name : PHP with highest supported Symfony versions
231
231
php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
232
232
symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-max }}
233
233
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
234
234
pkg-extra-constraints : behat/gherkin:~4.12.0
235
- - job-name : PHP - With lowest supported Symfony versions
235
+ - job-name : PHP with lowest supported Symfony versions
236
236
php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
237
237
symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-min }}
238
238
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
239
239
pkg-extra-constraints : behat/gherkin:~4.12.0
240
- - job-name : Symfony - With highest supported PHP version
240
+ - job-name : Symfony with highest supported PHP version
241
241
php-version : ${{ needs.fetch-supported-versions.outputs.php-max }}
242
242
symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
243
243
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
244
244
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
245
- pkg-extra-constraints : behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-max == '8.4' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
246
- - job-name : Symfony - With lowest supported PHP version
247
- # Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
248
- php-version : ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0 ' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
245
+ pkg-extra-constraints : behat/gherkin:~4.12.0
246
+ - job-name : Symfony with lowest supported PHP version
247
+ # Fix - symfony/validator 7.1 require php 8.2 minimum !
248
+ 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 }}
249
249
symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
250
250
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
251
251
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
252
- pkg-extra-constraints : behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
252
+ pkg-extra-constraints : behat/gherkin:~4.12.0
253
253
254
254
steps :
255
255
- name : Check out code
0 commit comments