@@ -100,7 +100,7 @@ jobs:
100
100
- ' 7.2'
101
101
- ' 7.3'
102
102
- ' 7.4'
103
- - ' rc '
103
+ - ' 8.0 '
104
104
include :
105
105
- php : ' 7.4'
106
106
coverage : true
@@ -129,13 +129,13 @@ jobs:
129
129
if : matrix.coverage
130
130
run : echo "COVERAGE=1" >> $GITHUB_ENV
131
131
- name : Remove Doctrine MongoDB ODM
132
- if : (startsWith(matrix.php, '7.1') || startsWith(matrix.php, 'rc '))
132
+ if : (startsWith(matrix.php, '7.1') || startsWith(matrix.php, '8.0 '))
133
133
run : |
134
134
composer remove --dev --no-interaction --no-progress --no-update --ansi \
135
135
doctrine/mongodb-odm \
136
136
doctrine/mongodb-odm-bundle \
137
137
- name : Set Composer platform config
138
- if : (startsWith(matrix.php, 'rc '))
138
+ if : (startsWith(matrix.php, '8.0 '))
139
139
run : |
140
140
composer config platform.php 7.4.99
141
141
- name : Update project dependencies
@@ -146,10 +146,10 @@ jobs:
146
146
- name : Install PHPUnit
147
147
run : vendor/bin/simple-phpunit --version
148
148
- name : Clear test app cache
149
- if : (!startsWith(matrix.php, 'rc '))
149
+ if : (!startsWith(matrix.php, '8.0 '))
150
150
run : tests/Fixtures/app/console cache:clear --ansi
151
- - name : Clear test app cache (php rc )
152
- if : (startsWith(matrix.php, 'rc '))
151
+ - name : Clear test app cache (php 8.0 )
152
+ if : (startsWith(matrix.php, '8.0 '))
153
153
run : rm -Rf tests/Fixtures/app/var/cache/*
154
154
- name : Run PHPUnit tests
155
155
run : |
@@ -195,7 +195,7 @@ jobs:
195
195
- ' 7.2'
196
196
- ' 7.3'
197
197
- ' 7.4'
198
- - ' rc '
198
+ - ' 8.0 '
199
199
include :
200
200
- php : ' 7.4'
201
201
coverage : true
@@ -211,6 +211,10 @@ jobs:
211
211
extensions : intl, bcmath, curl, openssl, mbstring, pdo_sqlite
212
212
coverage : pcov
213
213
ini-values : memory_limit=-1
214
+ - name : Set Composer platform config
215
+ if : (startsWith(matrix.php, '8.0'))
216
+ run : |
217
+ composer config platform.php 7.4.99
214
218
- name : Get composer cache directory
215
219
id : composercache
216
220
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
@@ -237,10 +241,10 @@ jobs:
237
241
- name : Install PHPUnit
238
242
run : vendor/bin/simple-phpunit --version
239
243
- name : Clear test app cache
240
- if : (!startsWith(matrix.php, 'rc '))
244
+ if : (!startsWith(matrix.php, '8.0 '))
241
245
run : tests/Fixtures/app/console cache:clear --ansi
242
- - name : Clear test app cache (php rc )
243
- if : (startsWith(matrix.php, 'rc '))
246
+ - name : Clear test app cache (php 8.0 )
247
+ if : (startsWith(matrix.php, '8.0 '))
244
248
run : rm -Rf tests/Fixtures/app/var/cache/*
245
249
- name : Run Behat tests
246
250
run : |
0 commit comments