Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit ec60904

Browse files
committed
ci: skip mongodb extension for now
1 parent db1bac8 commit ec60904

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/pipeline.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: pipeline
22
on: pull_request
33

4-
env:
5-
REQUIRED_PHP_EXTENSIONS: 'mongodb'
6-
74
permissions:
85
contents: read
96
pull-requests: write
@@ -24,7 +21,6 @@ jobs:
2421
with:
2522
php-version: ${{ matrix.php }}
2623
coverage: "none"
27-
extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}"
2824

2925
- name: Install Composer
3026
uses: "ramsey/composer-install@v3"
@@ -35,7 +31,7 @@ jobs:
3531
run: composer validate --strict
3632

3733
- name: Install PHP Dependencies
38-
run: composer install --no-scripts
34+
run: composer install --no-scripts --ignore-platform-req=ext-mongodb
3935

4036
- name: Tests
4137
run: vendor/bin/phpunit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"require-dev": {
3333
"codewithkyrian/chromadb-php": "^0.2.1 || ^0.3",
34-
"mongodb/mongodb": "^1.21",
34+
"mongodb/mongodb": "^1.21 || ^2.0",
3535
"php-cs-fixer/shim": "^3.70",
3636
"phpstan/phpstan": "^2.0",
3737
"phpstan/phpstan-webmozart-assert": "^2.0",

0 commit comments

Comments
 (0)