Skip to content

Commit

Permalink
Merge pull request mongodb#1920 from Smolevich/add-matrix-mongodb
Browse files Browse the repository at this point in the history
Add matrix for mongodb
  • Loading branch information
mnphpexpert committed Jan 22, 2020
2 parents f7d6743 + bca9e72 commit 5c03c7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
matrix:
php: [7.1, 7.2, 7.3, 7.4]
os: ['ubuntu-latest']
mongodb: [3.6, 4.0, 4.2]
services:
mongo:
image: mongo
image: mongo:${{ matrix.mongodb }}
ports:
- 27017:27017
mysql:
Expand All @@ -26,7 +27,7 @@ jobs:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: 'unittest'
MYSQL_ROOT_PASSWORD:
name: PHP ${{ matrix.php }} Test ${{ matrix.env }}
name: PHP ${{ matrix.php }} with mongo ${{ matrix.mongodb }}

steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -60,3 +61,4 @@ jobs:
run: vendor/bin/php-coveralls -v
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true

0 comments on commit 5c03c7b

Please sign in to comment.