Skip to content

Commit

Permalink
Merge pull request #81 from spatie/laravel-10
Browse files Browse the repository at this point in the history
Laravel 10 ✨
  • Loading branch information
freekmurze committed Jan 10, 2023
2 parents 10db3e1 + 71c7b67 commit 9964e65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/run-tests.yml
Expand Up @@ -9,12 +9,17 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1, 8.2, 8.2]
laravel: [9.*]
php: [8.0, 8.1, 8.2]
laravel: [10.*, 9.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
exclude:
- laravel: 10.*
php: 8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand All @@ -36,7 +41,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:^2.62.1" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:^2.64.1" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -16,11 +16,11 @@
],
"require": {
"php": "^8.0",
"illuminate/contracts": "^9.28"
"illuminate/contracts": "^9.28|^10.0"
},
"require-dev": {
"mockery/mockery": "^1.5",
"orchestra/testbench": "^7.7",
"orchestra/testbench": "^7.7|^8.0",
"pestphp/pest": "^1.22",
"phpunit/phpunit": "^9.5.24",
"spatie/pest-plugin-test-time": "^1.1"
Expand Down

0 comments on commit 9964e65

Please sign in to comment.