File tree Expand file tree Collapse file tree 2 files changed +24
-9
lines changed
Expand file tree Collapse file tree 2 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 1616 strategy :
1717 fail-fast : false
1818 matrix :
19- php : ["7.3", "7.4", "8.0"]
20- symfony : ["4.4.*", "5.1.*"]
19+ php : ["7.4", "8.0", "8.1"]
20+ symfony : ["5.3.*", "5.4.*", "6.0.*"]
21+ exclude :
22+ - symfony : " 6.0.*"
23+ php : " 7.4"
2124
2225 steps :
2326 -
@@ -31,10 +34,17 @@ jobs:
3134 coverage : none
3235
3336 -
34- name : Update Symfony version
37+ name : Restrict Symfony version
3538 if : matrix.symfony != ''
3639 run : |
37- composer require symfony/dependency-injection:${{ matrix.symfony }} --no-update --no-scripts
40+ composer global require --no-progress --no-scripts --no-plugins "symfony/flex"
41+ composer config extra.symfony.require "${{ matrix.symfony }}"
42+ composer config minimum-stability "dev"
43+ composer config prefer-stable true
44+
45+ - name : Remove Phpspec
46+ if : ${{ contains( matrix.symfony, '6.0.*' ) }}
47+ run : composer remove --dev phpspec/phpspec --no-update
3848
3949 -
4050 name : Install dependencies
4555 run : composer analyse
4656
4757 -
48- name : Run tests
49- run : composer test
58+ name : Run phpspec
59+ if : ${{ true != contains( matrix.symfony, '6.0.*' ) }}
60+ run : vendor/bin/phpspec run --format dot -vvv --no-interaction
61+
62+ -
63+ name : Run Behat
64+ run : vendor/bin/behat -f progress --strict -vvv --no-interaction --colors
Original file line number Diff line number Diff line change 99 }
1010 ],
1111 "require" : {
12- "php" : " ^7.1| ^8.0" ,
12+ "php" : " ^7.4 || ^8.0" ,
1313
1414 "behat/behat" : " ^3.4" ,
15- "symfony/dependency-injection" : " ^3.4|^4.1 "
15+ "symfony/dependency-injection" : " ^5.3 || ^6.0 "
1616 },
1717 "require-dev" : {
18- "friends-of-behat/test-context" : " ^1.1 " ,
18+ "friends-of-behat/test-context" : " ^1.3 " ,
1919 "phpspec/phpspec" : " ^7.0"
2020 },
2121 "autoload" : {
You can’t perform that action at this time.
0 commit comments