File tree Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -67,19 +67,12 @@ jobs:
67
67
- name : Set Framework version
68
68
run : composer config version "12.x-dev"
69
69
70
- - name : Set PHPUnit
71
- uses : nick-fields/retry@v3
72
- with :
73
- timeout_minutes : 5
74
- max_attempts : 5
75
- command : composer require phpunit/phpunit:^${{ matrix.phpunit }} --dev --no-interaction --no-update
76
-
77
70
- name : Install dependencies
78
71
uses : nick-fields/retry@v3
79
72
with :
80
73
timeout_minutes : 5
81
74
max_attempts : 5
82
- command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
75
+ command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with="phpunit/phpunit:^${{ matrix.phpunit }}"
83
76
84
77
- name : Execute tests
85
78
run : vendor/bin/phpunit --display-deprecation ${{ matrix.stability == 'prefer-stable' && '--fail-on-deprecation' || '' }}
@@ -134,20 +127,12 @@ jobs:
134
127
- name : Set Framework version
135
128
run : composer config version "12.x-dev"
136
129
137
- - name : Set PHPUnit
138
- uses : nick-fields/retry@v3
139
- with :
140
- timeout_minutes : 5
141
- max_attempts : 5
142
- command : composer require phpunit/phpunit:^${{ matrix.phpunit }} --dev --no-interaction --no-update
143
- shell : bash
144
-
145
130
- name : Install dependencies
146
131
uses : nick-fields/retry@v3
147
132
with :
148
133
timeout_minutes : 5
149
134
max_attempts : 5
150
- command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
135
+ command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with="phpunit/phpunit:^${{ matrix.phpunit }}"
151
136
152
137
- name : Execute tests
153
138
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 115
115
"pda/pheanstalk" : " ^5.0.6" ,
116
116
"php-http/discovery" : " ^1.15" ,
117
117
"phpstan/phpstan" : " ^2.0" ,
118
- "phpunit/phpunit" : " ^10.5.35|^11.5.3|^ 12.0.1" ,
118
+ "phpunit/phpunit" : " ^10.5.35|^11.5.3|~ 12.0.1" ,
119
119
"predis/predis" : " ^2.3" ,
120
120
"resend/resend-php" : " ^0.10.0" ,
121
121
"symfony/cache" : " ^7.2.0" ,
You can’t perform that action at this time.
0 commit comments