File tree Expand file tree Collapse file tree 4 files changed +6
-61
lines changed Expand file tree Collapse file tree 4 files changed +6
-61
lines changed Original file line number Diff line number Diff line change 25
25
fail-fast : false
26
26
matrix :
27
27
php-version :
28
- - " 7.2"
29
- - " 7.3"
30
28
- " 7.4"
31
29
- " 8.0"
32
30
- " 8.1"
Original file line number Diff line number Diff line change 65
65
fail-fast : false
66
66
matrix :
67
67
php-version :
68
- - " 7.3"
69
68
- " 7.4"
70
69
- " 8.0"
71
70
- " 8.1"
Original file line number Diff line number Diff line change 31
31
fail-fast : false
32
32
matrix :
33
33
php-version :
34
- - " 7.2"
35
- - " 7.3"
36
34
- " 7.4"
37
35
- " 8.0"
38
36
- " 8.1"
@@ -61,18 +59,12 @@ jobs:
61
59
shell : bash
62
60
run : " vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
63
61
64
- - name : " Paratest patch"
65
- if : matrix.php-version == '7.2'
66
- run : composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
67
- shell : bash
68
-
69
- - name : " Downgrade PHPUnit"
70
- if : matrix.php-version == '7.2'
71
- run : " composer require --dev phpunit/phpunit:^8.5.31 brianium/paratest:^4.0 composer/semver:^1.2 --update-with-dependencies --ignore-platform-reqs"
72
-
73
- - name : " Update PHPUnit"
74
- if : matrix.php-version != '7.2' && matrix.php-version != '7.3'
75
- run : " composer update phpunit/phpunit -W"
62
+ - name : " Upload transformed sources"
63
+ if : matrix.php-version == '7.4'
64
+ uses : actions/upload-artifact@v3
65
+ with :
66
+ name : transformed-src
67
+ path : src
76
68
77
69
- name : " PHPStan"
78
70
run : " make phpstan"
Original file line number Diff line number Diff line change 35
35
fail-fast : false
36
36
matrix :
37
37
php-version :
38
- - " 7.3"
39
38
- " 7.4"
40
39
- " 8.0"
41
40
- " 8.1"
@@ -162,46 +161,3 @@ jobs:
162
161
163
162
- name : " Tests"
164
163
run : " ${{ matrix.script }}"
165
-
166
- tests-old-phpunit :
167
- name : " Tests with old PHPUnit"
168
- runs-on : ${{ matrix.operating-system }}
169
- timeout-minutes : 60
170
-
171
- strategy :
172
- fail-fast : false
173
- matrix :
174
- php-version :
175
- - " 7.2"
176
- operating-system : [ ubuntu-latest ]
177
-
178
- steps :
179
- - name : " Checkout"
180
- uses : actions/checkout@v4
181
-
182
- - name : " Install PHP"
183
- uses : " shivammathur/setup-php@v2"
184
- with :
185
- coverage : " none"
186
- php-version : " ${{ matrix.php-version }}"
187
- tools : pecl
188
- extensions : ds,mbstring
189
- ini-file : development
190
- ini-values : memory_limit=2G
191
-
192
- - name : " Install dependencies"
193
- run : " composer install --no-interaction --no-progress"
194
-
195
- - name : " Transform source code"
196
- shell : bash
197
- run : " vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
198
-
199
- - name : " Paratest patch"
200
- run : composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
201
- shell : bash
202
-
203
- - name : " Downgrade PHPUnit"
204
- run : " composer require --dev phpunit/phpunit:^8.5.31 brianium/paratest:^4.0 composer/semver:^1.2 --update-with-dependencies --ignore-platform-reqs"
205
-
206
- - name : " Tests"
207
- run : " make tests-coverage"
You can’t perform that action at this time.
0 commit comments