diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 683987f..89c7d8f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: fail-fast: true matrix: php: [7.2, 7.3, 7.4, 8.0, 8.1] - laravel: [^6.0, ^7.0, ^8.0, ^9.0] + laravel: [^6.0, ^7.0, ^8.0, ^9.0, ^10.0] dependency-version: [prefer-lowest, prefer-stable] exclude: @@ -28,12 +28,24 @@ jobs: - php: 7.2 laravel: ^9.0 + - php: 7.2 + laravel: ^10.0 + - php: 7.3 laravel: ^9.0 + - php: 7.3 + laravel: ^10.0 + - php: 7.4 laravel: ^9.0 + - php: 7.4 + laravel: ^10.0 + + - php: 8.0 + laravel: ^10.0 + - php: 8.1 laravel: ^6.0 @@ -53,6 +65,9 @@ jobs: - laravel: ^9.0 testbench: ^7.0 + - laravel: ^10.0 + testbench: ^8.0 + name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: @@ -72,7 +87,7 @@ jobs: with: timeout_minutes: 5 max_attempts: 5 - command: composer require phpunit/phpunit:^9.5.8 --no-interaction --no-update + command: composer require phpunit/phpunit:^9.5.8 --dev --no-interaction --no-update if: matrix.php >= 8.1 - name: Install dependencies diff --git a/composer.json b/composer.json index 96889cd..de1d559 100644 --- a/composer.json +++ b/composer.json @@ -20,13 +20,13 @@ } ], "require": { - "php": "^7.2.5|^8.0", - "illuminate/console": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0" + "php": "^7.2.5|^8.0|^8.1", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0" }, "require-dev": { - "orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.3|^7.0", - "phpunit/phpunit": "^8.0|^9.0" + "orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.3|^7.0|^8.0", + "phpunit/phpunit": "^8.0|^9.0|^10.0" }, "autoload": { "psr-4": {