Skip to content

Commit 1522b70

Browse files
committed
Install mongodb PHP extension
I think it's better to just install it than fake that it's present.
1 parent 9d680d3 commit 1522b70

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build.yml

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

3738
- name: "Validate Composer"
3839
run: "composer validate"
@@ -61,6 +62,7 @@ jobs:
6162
with:
6263
coverage: "none"
6364
php-version: "8.0"
65+
extensions: "mongodb"
6466

6567
- name: "Validate Composer"
6668
run: "composer validate"
@@ -101,6 +103,7 @@ jobs:
101103
with:
102104
coverage: "none"
103105
php-version: "${{ matrix.php-version }}"
106+
extensions: "mongodb"
104107

105108
- name: "Downgrade PHPUnit"
106109
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
@@ -144,8 +147,7 @@ jobs:
144147
with:
145148
coverage: "none"
146149
php-version: "${{ matrix.php-version }}"
147-
extensions: mbstring
148-
tools: composer:v2
150+
extensions: "mbstring,mongodb"
149151

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

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
},
3636
"config": {
3737
"platform": {
38-
"php": "7.3.24",
3938
"ext-mongo": "1.6.16"
4039
},
4140
"sort-packages": true,

0 commit comments

Comments
 (0)