Skip to content

Commit e5a4854

Browse files
committed
Test with lowest dependencies in CI
1 parent bd6f1c3 commit e5a4854

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
- '8.1'
2424
- '8.2'
2525
- '8.3'
26+
include:
27+
- php: '8.1'
28+
mongodb: '4.4'
29+
mode: 'low-deps'
2630

2731
steps:
2832
- uses: actions/checkout@v4
@@ -63,7 +67,7 @@ jobs:
6367
restore-keys: ${{ matrix.os }}-composer-
6468
- name: Install dependencies
6569
run: |
66-
composer install --no-interaction
70+
composer update --no-interaction $([[ "${{ matrix.mode }}" == low-deps ]] && echo ' --prefer-lowest --prefer-stable')
6771
- name: Run tests
6872
run: |
6973
./vendor/bin/phpunit --coverage-clover coverage.xml

0 commit comments

Comments
 (0)