Skip to content

Commit 02854cb

Browse files
committed
Test with driver version 2.x in CI
1 parent 214dd32 commit 02854cb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
jobs:
1414
test:
15-
name: PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }} + ${{ matrix.variant }}
15+
name: PHP ${{ matrix.php-version }} + ${{ matrix.driver-version }} + ${{ matrix.dependencies }} + ${{ matrix.variant }}
1616

1717
runs-on: ubuntu-latest
1818

@@ -46,6 +46,8 @@ jobs:
4646
- '8.2'
4747
- '8.3'
4848
- '8.4'
49+
driver-version:
50+
- 'stable'
4951
dependencies:
5052
- 'highest'
5153
- 'lowest'
@@ -56,6 +58,12 @@ jobs:
5658
- 'symfony/symfony:"6.3.*"'
5759
- 'symfony/symfony:"6.4.*"'
5860
- 'symfony/symfony:"7.0.*"'
61+
include:
62+
- php-version: '8.4'
63+
driver-version: 'mongodb/mongo-php-driver@v2.x'
64+
dependencies: 'highest'
65+
symfony-require: ''
66+
variant: 'normal'
5967

6068
steps:
6169
- name: Checkout
@@ -65,6 +73,7 @@ jobs:
6573
uses: shivammathur/setup-php@v2
6674
with:
6775
php-version: ${{ matrix.php-version }}
76+
extensions: "mongodb-${{ matrix.driver-version }}"
6877

6978
- name: Add PHPUnit matcher
7079
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

0 commit comments

Comments
 (0)