diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ba6467..58b6eda 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,7 @@ name: Run tests on: push: + pull_request: jobs: test: @@ -10,14 +11,18 @@ jobs: strategy: fail-fast: false matrix: - php: [8.1, 8.2, 8.3, 8.4] - laravel: [10.*, 11.*, 12.*] + php: [8.1, 8.2, 8.3, 8.4, 8.5] + laravel: [10.*, 11.*, 12.*, 13.*] dependency-version: [prefer-lowest, prefer-stable] exclude: - php: 8.1 laravel: 11.* - php: 8.1 laravel: 12.* + - php: 8.1 + laravel: 13.* + - php: 8.2 + laravel: 13.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} @@ -38,4 +43,4 @@ jobs: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Execute tests - run: vendor/bin/phpunit \ No newline at end of file + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index 741947e..cf83603 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ }, "require": { "php": "^8.1", - "illuminate/support": "^10.0|^11.0|^12.0", + "illuminate/support": "^10.0|^11.0|^12.0|^13.0", "nesbot/carbon": "^2.0|^3.0" }, "require-dev": {