diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5a00ee7..fd65a80 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,9 +11,19 @@ jobs: strategy: fail-fast: false matrix: - php: [ "8.1", "8.2" ] - laravel: [ "^9.0", "^10.0" ] + php: ["8.3", "8.2", "8.1"] + laravel: ["^11.0", "^10.0", "^9.0"] dependency-version: [ prefer-lowest, prefer-stable ] + exclude: + - laravel: "^11.0" + php: "8.1" + include: + - laravel: "^11.0" + testbench: 9.* + - laravel: "^10.0" + testbench: 8.* + - laravel: "^9.0" + testbench: 7.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} @@ -36,7 +46,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" --dev --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" --dev --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Execute tests diff --git a/composer.json b/composer.json index 35a30bc..d034206 100644 --- a/composer.json +++ b/composer.json @@ -27,8 +27,8 @@ ], "require": { "php": "^8.1", - "illuminate/database": "^9|^10", - "illuminate/support": "^9|^10", + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", "nesbot/carbon": ">=2.62.1" }, "require-dev": { @@ -36,9 +36,9 @@ "dg/bypass-finals": "^1.4", "guzzlehttp/guzzle": "^7.8", "laravel/pint": "^1.3", - "orchestra/testbench": "7.*|8.*", + "orchestra/testbench": "^7.0|^8.0|^9.0", "pestphp/pest": "^1.21", - "phpunit/phpunit": "^9.1" + "phpunit/phpunit": "^9.4|^10.1" }, "autoload": { "psr-4": {