Skip to content

Commit

Permalink
L11 only
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Mar 8, 2024
1 parent d270dc4 commit c9a191c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,15 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1, 8.0]
laravel: [10.*, 9.*, 8.*]
php: [8.2]
laravel: [11.*]
dependency-version: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: ^6.23
exclude:
- laravel: 10.*
php: 8.0

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

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -38,7 +28,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
}
],
"require": {
"php": "^8.0",
"laravel/framework": "^8.71|^9.0|^10.0|^11.0"
"php": "^8.2",
"laravel/framework": "^11.0"
},
"require-dev": {
"mockery/mockery": "^1.4",
"orchestra/testbench": "^6.24|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.22|^2.0"
"orchestra/testbench": "^9.0",
"pestphp/pest": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit c9a191c

Please sign in to comment.