diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4511d59..92447dc 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: matrix: os: [ubuntu-latest] php: [8.2, 8.1, 8.0, 7.4] - laravel: ['8.*', '9.*', '10.*', '11.*'] + laravel: ['8.*', '9.*', '10.*', '11.*', '12.*'] dependency-version: [prefer-stable] include: - laravel: 10.* @@ -24,6 +24,8 @@ jobs: testbench: 6.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* exclude: - laravel: 10.* php: 8.0 @@ -37,6 +39,12 @@ jobs: php: 8.0 - laravel: 11.* php: 7.4 + - laravel: 12.* + php: 8.1 + - laravel: 12.* + php: 8.0 + - laravel: 12.* + php: 7.4 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} @@ -53,7 +61,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --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 208c37b..2cdf228 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ ], "require": { "php": "^7.4|^8.0", - "illuminate/support": "^8.0|^9.0|^10.0|^11.0" + "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0" }, "require-dev": { - "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", - "pestphp/pest": "^1.22|^2.34", - "phpunit/phpunit": "^9.0|^10.5" + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", + "pestphp/pest": "^1.22|^2.34|^3.7", + "phpunit/phpunit": "^9.0|^10.5|^11.5.3" }, "autoload": { "psr-4": {