Skip to content

Commit 2a3ce50

Browse files
committed
Add CI job for testing MongoDB handlers
1 parent a7fbcad commit 2a3ce50

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- php: '8.4'
2727
deps: highest
2828
monolog: '3.*'
29+
- php: '8.4'
30+
extensions: mongodb
2931

3032
env:
3133
SYMFONY_REQUIRE: ${{ matrix.symfony }}
@@ -40,7 +42,7 @@ jobs:
4042
php-version: ${{ matrix.php }}
4143
ini-values: zend.exception_ignore_args=false
4244
tools: flex
43-
extensions: mongodb
45+
extensions: ${{ matrix.extensions }}
4446

4547
- name: Configure composer
4648
if: "${{ matrix.deps == 'highest' }}"
@@ -50,6 +52,10 @@ jobs:
5052
if: "${{ matrix.monolog != '' }}"
5153
run: composer require --no-update monolog/monolog:${{ matrix.monolog }}
5254

55+
- name: Require mongodb/mongodb if ext-mongodb is available
56+
if: "${{ contains(matrix.extensions, 'mongodb') }}"
57+
run: composer require --no-update mongodb/mongodb
58+
5359
- name: Composer install
5460
uses: ramsey/composer-install@v3
5561
with:

0 commit comments

Comments
 (0)