File tree Expand file tree Collapse file tree 2 files changed +8
-21
lines changed
Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 1- name : Continuous Integration
1+ name : CI
22
33on :
4- pull_request : null
4+ pull_request :
55 push :
66 branches :
77 - master
8- - develop
98 - release/**
109
1110permissions :
3534 - 6.*
3635 - 7.*
3736 dependencies :
37+ - lowest
3838 - highest
3939 exclude :
4040 - php : ' 7.2'
5555 symfony-version : 7.*
5656 - php : ' 8.4'
5757 symfony-version : 4.4.*
58- include :
59- - php : ' 7.2'
60- symfony-version : 4.4.*
61- dependencies : lowest
62- - php : ' 7.2'
63- symfony-version : 5.*
64- dependencies : lowest
65- - php : ' 8.0'
66- symfony-version : 6.*
67- dependencies : lowest
68- - php : ' 8.2'
69- symfony-version : 7.*
70- dependencies : lowest
7158
7259 steps :
7360 - name : Checkout
@@ -85,14 +72,14 @@ jobs:
8572 - name : Setup Problem Matchers for PHPUnit
8673 run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
8774
88- - name : Update PHPUnit
89- run : composer require --dev phpunit/phpunit ^9.5 --no-update
90- if : matrix.php == '8.0' && matrix.dependencies == 'lowest'
91-
9275 # These dependencies are not used running the tests but can cause deprecation warnings so we remove them before running the tests
9376 - name : Remove unused dependencies
9477 run : composer remove vimeo/psalm phpstan/phpstan friendsofphp/php-cs-fixer --dev --no-interaction --no-update
9578
79+ - name : Update PHPUnit
80+ run : composer require --dev phpunit/phpunit ^8.5.40 --no-update
81+ if : matrix.php == '7.2'
82+
9683 - name : Install dependencies
9784 uses : ramsey/composer-install@v3
9885 with :
Original file line number Diff line number Diff line change 3636 "phpstan/phpstan" : " 1.12.5" ,
3737 "phpstan/phpstan-phpunit" : " 1.4.0" ,
3838 "phpstan/phpstan-symfony" : " 1.4.10" ,
39- "phpunit/phpunit" : " ^8.5|^9.6" ,
39+ "phpunit/phpunit" : " ^8.5|| ^9.6" ,
4040 "symfony/browser-kit" : " ^4.4.20||^5.0.11||^6.0||^7.0" ,
4141 "symfony/cache" : " ^4.4.20||^5.0.11||^6.0||^7.0" ,
4242 "symfony/dom-crawler" : " ^4.4.20||^5.0.11||^6.0||^7.0" ,
You can’t perform that action at this time.
0 commit comments