Skip to content

Commit

Permalink
Test with lowest dependencies in CI (#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Nov 2, 2023
1 parent bd6f1c3 commit 070e9e6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-ci.yml
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
name: PHP v${{ matrix.php }} with MongoDB ${{ matrix.mongodb }}
name: PHP v${{ matrix.php }} with MongoDB ${{ matrix.mongodb }} ${{ matrix.mode }}
strategy:
matrix:
os:
Expand All @@ -23,6 +23,10 @@ jobs:
- '8.1'
- '8.2'
- '8.3'
include:
- php: '8.1'
mongodb: '5.0'
mode: 'low-deps'

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

0 comments on commit 070e9e6

Please sign in to comment.