Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Tests
on:
push:
paths-ignore:
- 'readme.md'
- readme.md
pull_request:
paths-ignore:
- 'readme.md'
- readme.md
release:

jobs:
Expand All @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
laravel: [8.*, 9.*, 10.*]
laravel: ['8.*', '9.*', '10.*', '11.*']
php: [7.3, 8.0, 8.1, 8.2]
exclude:
- laravel: 9.*
Expand All @@ -24,6 +24,12 @@ jobs:
php: 7.3
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 7.3
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1
fail-fast: false

name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}
Expand All @@ -40,8 +46,8 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts:${{ matrix.laravel }}" "illuminate/filesystem:${{ matrix.laravel }}" "illuminate/container:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
composer require "illuminate/contracts:${{ matrix.laravel }}" "illuminate/filesystem:${{ matrix.laravel }}" "illuminate/container:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest

- name: Run tests
run: vendor/bin/phpunit
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
},
"require": {
"php": ">=5.5.9",
"illuminate/contracts": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/filesystem": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0",
"symfony/http-foundation": "2.6 - 4|^5.0|^6.0"
"illuminate/contracts": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0 ^11.0",
"illuminate/filesystem": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0 ^11.0",
"symfony/http-foundation": "2.6 - 4|^5.0|^6.0 ^7.0"
},
"require-dev": {
"illuminate/container": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/container": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0 ^11.0",
"mockery/mockery": "^0.9.5|^1.4.4",
"phpunit/phpunit": "^4.8|^9.5",
"symfony/var-dumper": "^4.4|^5.0|^6.0"
"phpunit/phpunit": "^4.8|^9.5 ^10.5",
"symfony/var-dumper": "^4.4|^5.0|^6.0 ^7.0"
},
"suggest": {
"illuminate/console": "Allows clearing the cache via artisan"
Expand Down