File tree Expand file tree Collapse file tree 4 files changed +1
-59
lines changed Expand file tree Collapse file tree 4 files changed +1
-59
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,21 +59,12 @@ jobs:
61
59
run : " vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
62
60
63
61
- name : " Upload transformed sources"
64
- if : matrix.php-version == '7.2 '
62
+ if : matrix.php-version == '7.4 '
65
63
uses : actions/upload-artifact@v3
66
64
with :
67
65
name : transformed-src
68
66
path : src
69
67
70
- - name : " Paratest patch"
71
- if : matrix.php-version == '7.2'
72
- run : composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
73
- shell : bash
74
-
75
- - name : " Downgrade PHPUnit"
76
- if : matrix.php-version == '7.2'
77
- run : " composer require --dev phpunit/phpunit:^8.5.31 brianium/paratest:^4.0 --update-with-dependencies --ignore-platform-reqs"
78
-
79
68
- name : " PHPStan"
80
69
run : " make phpstan"
81
70
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"
@@ -122,46 +121,3 @@ jobs:
122
121
123
122
- name : " Tests"
124
123
run : " make tests-levels"
125
-
126
- tests-old-phpunit :
127
- name : " Tests with old PHPUnit"
128
- runs-on : ${{ matrix.operating-system }}
129
- timeout-minutes : 60
130
-
131
- strategy :
132
- fail-fast : false
133
- matrix :
134
- php-version :
135
- - " 7.2"
136
- operating-system : [ ubuntu-latest ]
137
-
138
- steps :
139
- - name : " Checkout"
140
- uses : actions/checkout@v4
141
-
142
- - name : " Install PHP"
143
- uses : " shivammathur/setup-php@v2"
144
- with :
145
- coverage : " none"
146
- php-version : " ${{ matrix.php-version }}"
147
- tools : pecl
148
- extensions : ds,mbstring
149
- ini-file : development
150
- ini-values : memory_limit=2G
151
-
152
- - name : " Install dependencies"
153
- run : " composer install --no-interaction --no-progress"
154
-
155
- - name : " Transform source code"
156
- shell : bash
157
- run : " vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
158
-
159
- - name : " Paratest patch"
160
- run : composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
161
- shell : bash
162
-
163
- - name : " Downgrade PHPUnit"
164
- run : " composer require --dev phpunit/phpunit:^8.5.31 brianium/paratest:^4.0 --update-with-dependencies --ignore-platform-reqs"
165
-
166
- - name : " Tests"
167
- run : " make tests-coverage"
You can’t perform that action at this time.
0 commit comments