Skip to content

Commit 3485df3

Browse files
committed
fix: ignore platform reqs on low php
1 parent 14d9fe5 commit 3485df3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@ jobs:
140140
doctrine/mongodb-odm \
141141
doctrine/mongodb-odm-bundle
142142
- name: Update project dependencies
143+
if: (!startsWith(matrix.php, '7.1'))
143144
run: composer update --no-interaction --no-progress --ansi
145+
- name: Update project dependencies (7.1)
146+
if: (startsWith(matrix.php, '7.1') || startsWith(matrix.php, '7.2'))
147+
run: composer update --no-interaction --no-progress --ansi --ignore-platform-reqs
144148
- name: Require Symfony components
145149
if: (!startsWith(matrix.php, '7.1'))
146150
run: composer require symfony/uid --dev --no-interaction --no-progress --ansi
@@ -228,7 +232,11 @@ jobs:
228232
doctrine/mongodb-odm \
229233
doctrine/mongodb-odm-bundle
230234
- name: Update project dependencies
235+
if: (!startsWith(matrix.php, '7.1'))
231236
run: composer update --no-interaction --no-progress --ansi
237+
- name: Update project dependencies (7.1)
238+
if: (startsWith(matrix.php, '7.1') || startsWith(matrix.php, '7.2'))
239+
run: composer update --no-interaction --no-progress --ansi --ignore-platform-reqs
232240
- name: Require Symfony components
233241
if: (!startsWith(matrix.php, '7.1'))
234242
run: composer require symfony/uid --dev --no-interaction --no-progress --ansi

0 commit comments

Comments
 (0)