diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 35040e9..877dc1d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,28 +2,37 @@ name: Run all tests on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*] + laravel: ['9.*', '10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: ^8.0 - laravel: 9.* testbench: 7.* + - laravel: 11.* + testbench: ^9.0 exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 8.1 + - laravel: 11.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -52,4 +61,4 @@ jobs: run: composer show -D - name: Execute tests - run: vendor/bin/pest \ No newline at end of file + run: vendor/bin/pest diff --git a/composer.json b/composer.json index f302e68..63d7622 100644 --- a/composer.json +++ b/composer.json @@ -38,18 +38,18 @@ "php": "^8.0", "ext-dom": "*", "ext-libxml": "*", - "illuminate/testing": "^9.0|^10.0", + "illuminate/testing": "^9.0|^10.0|^11.0", "symfony/css-selector": "^6.0|^7.0" }, "require-dev": { "laravel/pint": "^1.2", "nunomaduro/larastan": "^2.2", - "orchestra/testbench": "^7.0|^8.0", - "pestphp/pest": "^1.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "pestphp/pest": "^1.0|^2.34", "phpstan/extension-installer": "^1.2", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.1", - "vimeo/psalm": "^4.29" + "vimeo/psalm": "^4.29|^5.22" }, "config": { "allow-plugins": {