Skip to content

Commit

Permalink
Test Laravel 10 and 11 (#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN authored Mar 7, 2024
1 parent cf0ea1a commit 963d01f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@ jobs:
- "8.2"
- "8.3"
laravel:
- "10.*"
- "10.*"
- "11.*"
include:
- php: "8.1"
laravel: "10.*"
mongodb: "5.0"
mode: "low-deps"
# Laravel 11
- php: "8.3"
mongodb: "7.0"
mode: "dev"
exclude:
- php: "8.1"
laravel: "11.*"

steps:
- uses: "actions/checkout@v4"

Expand Down Expand Up @@ -79,10 +80,7 @@ jobs:
restore-keys: "${{ matrix.os }}-composer-"

- name: "Install dependencies"
run: |
composer update --no-interaction \
$([[ "${{ matrix.mode }}" == low-deps ]] && echo ' --prefer-lowest') \
$([[ "${{ matrix.mode }}" != dev ]] && echo ' --prefer-stable')
run: composer update --no-interaction $([[ "${{ matrix.mode }}" == low-deps ]] && echo ' --prefer-lowest')
- name: "Run tests"
run: "./vendor/bin/phpunit --coverage-clover coverage.xml"
env:
Expand Down

0 comments on commit 963d01f

Please sign in to comment.