diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5a7f77e..80195fa 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,16 +1,19 @@ name: Tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: false matrix: os: [ubuntu-latest] - php: [8.1, 8.0, 7.4] - laravel: [9.*, 8.*, 10.*] + php: [7.4, 8.0, 8.1, '8.2'] + laravel: ['8.*', '9.*', '10.*', '11.*'] dependency-version: [prefer-stable] include: - laravel: 10.* @@ -19,6 +22,8 @@ jobs: testbench: 7.* - laravel: 8.* testbench: 6.* + - laravel: 11.* + testbench: 9.* exclude: - laravel: 10.* php: 8.0 @@ -26,6 +31,12 @@ jobs: php: 7.4 - laravel: 9.* php: 7.4 + - laravel: 11.* + php: 7.4 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index be5c679..2858bbe 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ "require": { "php": "^7.4|^8.0", "clue/stdio-react": "^2.3", - "illuminate/support": "^8.0|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", "react/event-loop": "^1.1.1" }, "require-dev": { - "orchestra/testbench": "^6.0|^7.0|^8.0", - "pestphp/pest": "^1.22" + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", + "pestphp/pest": "^1.22|^2.34" }, "autoload": { "psr-4": { @@ -55,4 +55,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +}