From 5b7344be33e822038007c2df32962880a3474dd8 Mon Sep 17 00:00:00 2001 From: Tobias van Beek Date: Tue, 8 Feb 2022 10:06:17 +0100 Subject: [PATCH 1/2] Allow Laravel 9 - Add Laravel 9 to the composer.json versions - Add Laravel 9 to the run_test matrix and exclude it on PHP 7.4 --- .github/workflows/run-tests.yml | 7 ++++++- composer.json | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 14743df..383e29e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,11 +9,16 @@ jobs: fail-fast: true matrix: php: [8.1, 8.0, 7.4] - laravel: [8.*] + laravel: [8.*, 9.*] dependency-version: [prefer-lowest, prefer-stable] + exclude: + - laravel: 9.* + php: 7.4 include: - laravel: 8.* testbench: ^6.23 + - laravel: 9.* + testbench: ^7.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index de66f95..a920521 100644 --- a/composer.json +++ b/composer.json @@ -17,8 +17,8 @@ ], "require": { "php": "^7.4|^8.0", - "illuminate/database": "^8.0", - "illuminate/view": "^8.0", + "illuminate/database": "^8.0|^9.0", + "illuminate/view": "^8.0|^9.0", "livewire/livewire": "^2.0", "spatie/sun": "^1.1.1" }, From 49ea06f1473847635af6f9f6f1012b46c76a6ce1 Mon Sep 17 00:00:00 2001 From: Tobias van Beek Date: Tue, 8 Feb 2022 10:15:15 +0100 Subject: [PATCH 2/2] Allow testbench version 7 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a920521..76555ca 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "spatie/sun": "^1.1.1" }, "require-dev": { - "orchestra/testbench": "^6.0", + "orchestra/testbench": "^6.0|^7.0", "phpunit/phpunit": "^9.3", "spatie/phpunit-snapshot-assertions": "^4.2" },