Skip to content

Commit a5f3767

Browse files
committed
Run tests with PHP 8.4
1 parent 2074da3 commit a5f3767

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ jobs:
3030
- php: "8.1"
3131
laravel: "10.*"
3232
mongodb: "5.0"
33-
mode: "low-deps"
33+
mode: "--prefer-lowest"
34+
- php: "8.4"
35+
laravel: "11.*"
36+
mongodb: "7.0"
37+
mode: "--ignore-platform-reqs"
3438
exclude:
3539
- php: "8.1"
3640
laravel: "11.*"
@@ -80,7 +84,7 @@ jobs:
8084
restore-keys: "${{ matrix.os }}-composer-"
8185

8286
- name: "Install dependencies"
83-
run: composer update --no-interaction $([[ "${{ matrix.mode }}" == low-deps ]] && echo ' --prefer-lowest')
87+
run: composer update --no-interaction ${{ matrix.mode }}
8488
- name: "Run tests"
8589
run: "./vendor/bin/phpunit --coverage-clover coverage.xml"
8690
env:

0 commit comments

Comments
 (0)