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

Commit aa73b0c

Browse files
authored
ci: skip mongodb extension for now (#281)
For now the easiest solution as the pipeline doesn't need the extension anyways.
1 parent db1bac8 commit aa73b0c

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/pipeline.yml

Lines changed: 3 additions & 13 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,18 +21,12 @@ 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"
3127
with:
3228
dependency-versions: "${{ matrix.dependencies }}"
33-
34-
- name: Composer Validation
35-
run: composer validate --strict
36-
37-
- name: Install PHP Dependencies
38-
run: composer install --no-scripts
29+
composer-options: "--ignore-platform-req=ext-mongodb"
3930

4031
- name: Tests
4132
run: vendor/bin/phpunit
@@ -55,13 +46,12 @@ jobs:
5546

5647
- name: Install Composer
5748
uses: "ramsey/composer-install@v3"
49+
with:
50+
composer-options: "--ignore-platform-req=ext-mongodb"
5851

5952
- name: Composer Validation
6053
run: composer validate --strict
6154

62-
- name: Install PHP Dependencies
63-
run: composer install --no-scripts
64-
6555
- name: Code Style PHP
6656
run: vendor/bin/php-cs-fixer fix --dry-run
6757

0 commit comments

Comments
 (0)