diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e0ea349..1a61be9 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,26 +2,31 @@ name: run-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] php: [8.3, 8.4, 8.5] - laravel: [^11.0, ^12.0] - phpunit: [^11.0, ^12.0] + laravel: [^11.0, ^12.0, ^13.0] + phpunit: ['8.3', '8.4', '8.5', ^11.0, ^12.0] stability: [prefer-lowest, prefer-stable] include: - laravel: ^11.0 testbench: ^9.0 - laravel: ^12.0 testbench: ^10.0 + - laravel: ^13.0 + testbench: ^11.0 exclude: - php: 8.4 laravel: ^11.0 diff --git a/composer.json b/composer.json index fb51f9b..d465c0f 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ ], "require": { "php": "^8.3", - "illuminate/database": "^11.0|^12.0", - "illuminate/support": "^11.0|^12.0", - "illuminate/testing": "^11.0|^12.0", + "illuminate/database": "^11.0|^12.0|^13.0", + "illuminate/support": "^11.0|^12.0|^13.0", + "illuminate/testing": "^11.0|^12.0|^13.0", "phpunit/phpunit": "^11.0|^12.0", "spatie/invade": "^2.0" }, @@ -27,7 +27,7 @@ "friendsofphp/php-cs-fixer": "^3.6", "nunomaduro/collision": "^8.0", "larastan/larastan": "^3.0", - "orchestra/testbench": "^9.0|^10.0", + "orchestra/testbench": "^9.0|^10.0|^11.0", "pestphp/pest": "^3.0 | ^4.0", "pestphp/pest-plugin-laravel": "^3.0 | ^4.0", "phpstan/extension-installer": "^1.1", @@ -39,7 +39,9 @@ "psr-4": { "Soyhuce\\Testing\\": "src" }, - "files": ["src/helpers.php"] + "files": [ + "src/helpers.php" + ] }, "autoload-dev": { "psr-4": {