Require ext-mongodb ^2.3 and test against dev branch#1879
Require ext-mongodb ^2.3 and test against dev branch#1879GromNaN merged 2 commits intomongodb:v2.xfrom
Conversation
Test against the v2.x development branch of the extension in CI, in anticipation of the 2.3.0 release.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v2.x #1879 +/- ##
=========================================
Coverage 87.75% 87.75%
Complexity 3308 3308
=========================================
Files 447 447
Lines 6607 6607
=========================================
Hits 5798 5798
Misses 809 809
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Pull request overview
Updates the library’s minimum supported ext-mongodb version and adjusts CI to exercise the extension’s v2.x development branch ahead of an ext-mongodb 2.3.0 release.
Changes:
- Bump
ext-mongodbrequirement from^2.2to^2.3incomposer.json. - Switch GitHub Actions workflows to use a
v2.xdriver value viaDRIVER_VERSION. - Switch Evergreen extension builds to compile from
EXTENSION_BRANCH: v2.x(template + regenerated config).
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| composer.json | Raises minimum required ext-mongodb version to ^2.3. |
| .github/workflows/tests.yml | Points CI driver install to mongodb/mongo-php-driver@v2.x. |
| .github/workflows/static-analysis.yml | Points CI driver install to mongodb/mongo-php-driver@v2.x. |
| .github/workflows/generator.yml | Points CI driver install to mongodb/mongo-php-driver@v2.x. |
| .github/workflows/coding-standards.yml | Points CI driver install to mongodb/mongo-php-driver@v2.x. |
| .evergreen/config/templates/build/build-extension.yml | Builds extension from v2.x branch for stable/lowest/next-stable/next-minor tasks. |
| .evergreen/config/generated/build/build-extension.yml | Regenerated Evergreen config reflecting v2.x branch builds. |
alcaeus
left a comment
There was a problem hiding this comment.
Code changes LGTM with a small nit about a missing comment.
c053284 to
ff96b7a
Compare
Bumps the minimum required
ext-mongodbversion from^2.2to^2.3and tests against thev2.xdevelopment branch of the extension in CI (Evergreen and GitHub Actions), in anticipation of the 2.3.0 release.