Skip to content

Commit cd5398a

Browse files
committed
ci: replace PHP rc by 8.0
1 parent 642b94f commit cd5398a

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- '7.2'
101101
- '7.3'
102102
- '7.4'
103-
- 'rc'
103+
- '8.0'
104104
include:
105105
- php: '7.4'
106106
coverage: true
@@ -129,13 +129,13 @@ jobs:
129129
if: matrix.coverage
130130
run: echo "COVERAGE=1" >> $GITHUB_ENV
131131
- 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'))
133133
run: |
134134
composer remove --dev --no-interaction --no-progress --no-update --ansi \
135135
doctrine/mongodb-odm \
136136
doctrine/mongodb-odm-bundle \
137137
- name: Set Composer platform config
138-
if: (startsWith(matrix.php, 'rc'))
138+
if: (startsWith(matrix.php, '8.0'))
139139
run: |
140140
composer config platform.php 7.4.99
141141
- name: Update project dependencies
@@ -146,10 +146,10 @@ jobs:
146146
- name: Install PHPUnit
147147
run: vendor/bin/simple-phpunit --version
148148
- name: Clear test app cache
149-
if: (!startsWith(matrix.php, 'rc'))
149+
if: (!startsWith(matrix.php, '8.0'))
150150
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'))
153153
run: rm -Rf tests/Fixtures/app/var/cache/*
154154
- name: Run PHPUnit tests
155155
run: |
@@ -195,7 +195,7 @@ jobs:
195195
- '7.2'
196196
- '7.3'
197197
- '7.4'
198-
- 'rc'
198+
- '8.0'
199199
include:
200200
- php: '7.4'
201201
coverage: true
@@ -211,6 +211,10 @@ jobs:
211211
extensions: intl, bcmath, curl, openssl, mbstring, pdo_sqlite
212212
coverage: pcov
213213
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
214218
- name: Get composer cache directory
215219
id: composercache
216220
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
@@ -237,10 +241,10 @@ jobs:
237241
- name: Install PHPUnit
238242
run: vendor/bin/simple-phpunit --version
239243
- name: Clear test app cache
240-
if: (!startsWith(matrix.php, 'rc'))
244+
if: (!startsWith(matrix.php, '8.0'))
241245
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'))
244248
run: rm -Rf tests/Fixtures/app/var/cache/*
245249
- name: Run Behat tests
246250
run: |

0 commit comments

Comments
 (0)