Skip to content

Commit 3e5e9de

Browse files
authored
Merge pull request #1920 from Smolevich/add-matrix-mongodb
Add matrix for mongodb
2 parents 69e4da5 + fa264de commit 3e5e9de

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
matrix:
1414
php: [7.1, 7.2, 7.3, 7.4]
1515
os: ['ubuntu-latest']
16+
mongodb: [3.6, 4.0, 4.2]
1617
services:
1718
mongo:
18-
image: mongo
19+
image: mongo:${{ matrix.mongodb }}
1920
ports:
2021
- 27017:27017
2122
mysql:
@@ -26,7 +27,7 @@ jobs:
2627
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
2728
MYSQL_DATABASE: 'unittest'
2829
MYSQL_ROOT_PASSWORD:
29-
name: PHP ${{ matrix.php }} Test ${{ matrix.env }}
30+
name: PHP ${{ matrix.php }} with mongo ${{ matrix.mongodb }}
3031

3132
steps:
3233
- uses: actions/checkout@v1
@@ -60,3 +61,4 @@ jobs:
6061
run: vendor/bin/php-coveralls -v
6162
env:
6263
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
continue-on-error: true

0 commit comments

Comments
 (0)