Skip to content

Commit

Permalink
Merge pull request #2111 from jenssegers/change-matrix
Browse files Browse the repository at this point in the history
Change matrix
  • Loading branch information
lisadeloach63 committed Sep 30, 2020
2 parents 25a4291 + 13a17a3 commit 710b650
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,24 @@ on:

jobs:
build:
runs-on: ${{matrix.os}}
runs-on: ${{ matrix.os }}
name: PHP v${{ matrix.php }} with Mongo v${{ matrix.mongodb }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php: ['7.2', '7.3', '7.4']
os: ['ubuntu-latest']
mongodb: ['3.6', '4.0', '4.2', '4.4']
include:
- { os: ubuntu-latest, php: 7.2, mongodb: 3.6, experimental: true}
- { os: ubuntu-latest, php: 7.2, mongodb: '4.0', experimental: true}
- { os: ubuntu-latest, php: 7.2, mongodb: 4.2, experimental: true}
- { os: ubuntu-latest, php: 7.2, mongodb: 4.4, experimental: true}
- { os: ubuntu-latest, php: 7.3, mongodb: 3.6, experimental: false}
- { os: ubuntu-latest, php: 7.3, mongodb: '4.0', experimental: false}
- { os: ubuntu-latest, php: 7.3, mongodb: 4.2, experimental: false}
- { os: ubuntu-latest, php: 7.3, mongodb: 4.4, experimental: false}
- { os: ubuntu-latest, php: 7.4, mongodb: 3.6, experimental: false}
- { os: ubuntu-latest, php: 7.4, mongodb: '4.0', experimental: false}
- { os: ubuntu-latest, php: 7.4, mongodb: 4.2, experimental: false}
- { os: ubuntu-latest, php: 7.4, mongodb: 4.4, experimental: false}
services:
mongo:
image: mongo:${{ matrix.mongodb }}
Expand All @@ -27,7 +39,6 @@ jobs:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: 'unittest'
MYSQL_ROOT_PASSWORD:
name: PHP v${{ matrix.php }} with Mongo v${{ matrix.mongodb }}

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 710b650

Please sign in to comment.