Commit f3021c2b authored by Smolevich's avatar Smolevich

Add matrix for mongodb

parent 0015e51b
...@@ -13,9 +13,10 @@ jobs: ...@@ -13,9 +13,10 @@ jobs:
matrix: matrix:
php: [7.1, 7.2, 7.3, 7.4] php: [7.1, 7.2, 7.3, 7.4]
os: ['ubuntu-latest'] os: ['ubuntu-latest']
mongodb: [3.6, 4.0, 4.2]
services: services:
mongo: mongo:
image: mongo image: mongo:${{ matrix.mongodb }}
ports: ports:
- 27017:27017 - 27017:27017
mysql: mysql:
...@@ -26,7 +27,7 @@ jobs: ...@@ -26,7 +27,7 @@ jobs:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: 'unittest' MYSQL_DATABASE: 'unittest'
MYSQL_ROOT_PASSWORD: MYSQL_ROOT_PASSWORD:
name: PHP ${{ matrix.php }} Test ${{ matrix.env }} name: PHP ${{ matrix.php }} with mongo ${{ matrix.mongodb }}
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment