Skip to content

Commit f1cce13

Browse files
committed
Fix php 7.2 matrix
1 parent 21f4d7a commit f1cce13

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
- { os: ubuntu-latest, php: 7.2, mongodb: 3.6, experimental: true}
18-
- { os: ubuntu-latest, php: 7.2, mongodb: '4.0', experimental: true}
19-
- { os: ubuntu-latest, php: 7.2, mongodb: 4.2, experimental: true}
17+
- { os: ubuntu-latest, php: 7.2, mongodb: 3.6, experimental: true}
18+
- { os: ubuntu-latest, php: 7.2, mongodb: '4.0', experimental: true}
19+
- { os: ubuntu-latest, php: 7.2, mongodb: 4.2, experimental: true}
2020
- { os: ubuntu-latest, php: 7.2, mongodb: 4.4, experimental: true}
2121
- { os: ubuntu-latest, php: 7.3, mongodb: 3.6, experimental: false}
2222
- { os: ubuntu-latest, php: 7.3, mongodb: '4.0', experimental: false}
@@ -56,18 +56,22 @@ jobs:
5656
env:
5757
DEBUG: ${{secrets.DEBUG}}
5858
- name: Download Composer cache dependencies from cache
59+
if: (!startsWith(matrix.php, '7.2'))
5960
id: composer-cache
6061
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
6162
- name: Cache Composer dependencies
63+
if: (!startsWith(matrix.php, '7.2'))
6264
uses: actions/cache@v1
6365
with:
6466
path: ${{ steps.composer-cache.outputs.dir }}
6567
key: ${{ matrix.os }}-composer-${{ hashFiles('**/composer.json') }}
6668
restore-keys: ${{ matrix.os }}-composer-
6769
- name: Install dependencies
70+
if: (!startsWith(matrix.php, '7.2'))
6871
run: |
6972
composer install --no-interaction
7073
- name: Run tests
74+
if: (!startsWith(matrix.php, '7.2'))
7175
run: |
7276
./vendor/bin/phpunit --coverage-clover coverage.xml
7377
env:

0 commit comments

Comments
 (0)