diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6400213..78d0894 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -7,6 +7,9 @@ on: - 'phpunit.xml.dist' - '.github/workflows/run-tests.yml' - 'composer.json' + pull_request: + branches: + - main jobs: test: @@ -15,11 +18,16 @@ jobs: fail-fast: true matrix: php: [8.3, 8.2, 8.1] - laravel: [10.*] + laravel: [11.*, 10.*] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 8320945..6d84da8 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "require-dev": { "laravel/pint": "^1.2", "nunomaduro/larastan": "^2.6", - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^8.0|^9.0", "pestphp/pest": "^2.10", "pestphp/pest-plugin-laravel": "^2.2", "spatie/laravel-ray": "^1.31"