File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 97
97
dependencies :
98
98
- " lowest"
99
99
- " highest"
100
+ phpunit-version :
101
+ - " ^9.5"
102
+ - " ^10.5"
103
+ - " ^11.5"
104
+ exclude :
105
+ - php-version : " 7.4"
106
+ phpunit-version : " ^10.5"
107
+ - php-version : " 8.0"
108
+ phpunit-version : " ^10.5"
109
+ - php-version : " 7.4"
110
+ phpunit-version : " ^11.5"
111
+ - php-version : " 8.0"
112
+ phpunit-version : " ^11.5"
113
+ - php-version : " 8.1"
114
+ phpunit-version : " ^11.5"
100
115
101
116
steps :
102
117
- name : " Checkout"
@@ -108,6 +123,9 @@ jobs:
108
123
coverage : " none"
109
124
php-version : " ${{ matrix.php-version }}"
110
125
126
+ - name : " Require specific PHPUnit version"
127
+ run : " composer require --dev phpunit/phpunit:${{ matrix.phpunit-version }}"
128
+
111
129
- name : " Install lowest dependencies"
112
130
if : ${{ matrix.dependencies == 'lowest' }}
113
131
run : " composer update --prefer-lowest --no-interaction --no-progress"
@@ -136,6 +154,10 @@ jobs:
136
154
dependencies :
137
155
- " lowest"
138
156
- " highest"
157
+ phpunit-version :
158
+ - " ^9.5"
159
+ - " ^10.5"
160
+ - " ^11.5"
139
161
140
162
steps :
141
163
- name : " Checkout"
@@ -149,6 +171,9 @@ jobs:
149
171
extensions : mbstring
150
172
tools : composer:v2
151
173
174
+ - name : " Require specific PHPUnit version"
175
+ run : " composer require --dev phpunit/phpunit:${{ matrix.phpunit-version }}"
176
+
152
177
- name : " Install lowest dependencies"
153
178
if : ${{ matrix.dependencies == 'lowest' }}
154
179
run : " composer update --prefer-lowest --no-interaction --no-progress"
You can’t perform that action at this time.
0 commit comments