Skip to content

Commit c9f9444

Browse files
committed
Install mongodb extension
1 parent 5ffe878 commit c9f9444

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
with:
3333
coverage: "none"
3434
php-version: "${{ matrix.php-version }}"
35+
extensions: "mongodb"
3536

3637
- name: "Validate Composer"
3738
run: "composer validate"
@@ -60,6 +61,7 @@ jobs:
6061
with:
6162
coverage: "none"
6263
php-version: "8.0"
64+
extensions: "mongodb"
6365

6466
- name: "Validate Composer"
6567
run: "composer validate"
@@ -99,6 +101,7 @@ jobs:
99101
with:
100102
coverage: "none"
101103
php-version: "${{ matrix.php-version }}"
104+
extensions: "mongodb"
102105

103106
- name: "Downgrade PHPUnit"
104107
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
@@ -141,8 +144,7 @@ jobs:
141144
with:
142145
coverage: "none"
143146
php-version: "${{ matrix.php-version }}"
144-
extensions: mbstring
145-
tools: composer:v2
147+
extensions: "mbstring,mongodb"
146148

147149
- name: "Downgrade PHPUnit"
148150
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
},
3636
"config": {
3737
"platform": {
38-
"ext-mongo": "1.6.16",
39-
"ext-mongodb": "1.6.16"
38+
"ext-mongo": "1.6.16"
4039
},
4140
"sort-packages": true,
4241
"allow-plugins": {

0 commit comments

Comments
 (0)