Skip to content

Commit 911acf3

Browse files
committed
Use matrix config instead of manually specifying builds
1 parent be0d449 commit 911acf3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build-ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ jobs:
3030

3131
build:
3232
runs-on: ${{ matrix.os }}
33-
name: PHP v${{ matrix.php }} with Mongo v${{ matrix.mongodb }}
34-
continue-on-error: ${{ matrix.experimental }}
33+
name: PHP v${{ matrix.php }} with MongoDB ${{ matrix.mongodb }}
3534
strategy:
3635
matrix:
37-
include:
38-
- { os: ubuntu-latest, php: 8.0, mongodb: '4.0', experimental: false }
39-
- { os: ubuntu-latest, php: 8.0, mongodb: 4.2, experimental: false }
40-
- { os: ubuntu-latest, php: 8.0, mongodb: 4.4, experimental: false }
41-
- { os: ubuntu-latest, php: 8.0, mongodb: '5.0', experimental: false }
42-
- { os: ubuntu-latest, php: 8.1, mongodb: '4.0', experimental: false }
43-
- { os: ubuntu-latest, php: 8.1, mongodb: 4.2, experimental: false }
44-
- { os: ubuntu-latest, php: 8.1, mongodb: 4.4, experimental: false }
45-
- { os: ubuntu-latest, php: 8.1, mongodb: '5.0', experimental: false }
36+
os:
37+
- ubuntu-latest
38+
mongodb:
39+
- '4.0'
40+
- '4.2'
41+
- '4.4'
42+
- '5.0'
43+
php:
44+
- '8.0'
45+
- '8.1'
4646
services:
4747
mongo:
4848
image: mongo:${{ matrix.mongodb }}

0 commit comments

Comments
 (0)