Skip to content

Commit ef0639e

Browse files
chore: ignore ext-mongodb for Symfony 5.4
1 parent 77f2bc9 commit ef0639e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
composer-flags: ['']
1818
symfony-version: ['']
1919
mysql-client: [ "default-mysql-client" ]
20+
# note: values defined in `matrix` and not in the `include:` section will be empty in jobs
2021
include:
2122
- php-version: 7.4
2223
# Use "update" instead of "install" since it allows using the "--prefer-lowest" option
@@ -27,10 +28,14 @@ jobs:
2728
- php-version: 8.1
2829
# add a specific job to test ^5.4 for all Symfony packages
2930
symfony-version: "^5.4"
31+
# avoid error between doctrine/mongodb-odm-bundle and the version of Mongo installed on the CI runner
32+
composer-flags: "install --ignore-platform-req=ext-mongodb"
3033
- php-version: 8.1
3134
symfony-version: "^5.4"
3235
# add a specific job to test mysqldump from MariaDB
3336
mysql-client: "mariadb-client"
37+
# avoid error between doctrine/mongodb-odm-bundle and the version of Mongo installed on the CI runner
38+
composer-flags: "install --ignore-platform-req=ext-mongodb"
3439
- php-version: 8.2
3540
# add a specific job to test ^6.4 for all Symfony packages
3641
symfony-version: "^6.4"

0 commit comments

Comments
 (0)