diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 06219a8..e006cf8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,35 +1,38 @@ name: Tests -on: [push, pull_request] +on: + push: + pull_request: jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: - fail-fast: true + fail-fast: false matrix: - os: [ubuntu-latest] - php: [8.3, 8.2] - laravel: [10.*, 11.*] - stability: [prefer-stable] include: - - laravel: 11.* - testbench: 9.* - - laravel: 10.* - testbench: 8.* - - name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} + - php: '8.3' + laravel: '12.*' + testbench: '10.*' + - php: '8.3' + laravel: '13.*' + testbench: '11.*' + - php: '8.4' + laravel: '13.*' + testbench: '11.*' + + name: PHP ${{ matrix.php }} / Laravel ${{ matrix.laravel }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo - coverage: xdebug + coverage: none - name: Setup problem matchers run: | @@ -39,7 +42,7 @@ jobs: - name: Install dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update - composer update --${{ matrix.stability }} --prefer-dist --no-interaction + composer update --prefer-dist --no-interaction - name: List Installed Dependencies run: composer show -D diff --git a/composer.json b/composer.json index 5546cbc..4613a3c 100644 --- a/composer.json +++ b/composer.json @@ -23,14 +23,14 @@ ], "require": { "php": "^8.2", - "illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0|^11.0|^12.0", + "illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0|^11.0|^12.0|^13.0", "spatie/laravel-package-tools": "^1.19" }, "require-dev": { - "orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0|^9.0", + "orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0|^9.0|^10.0|^11.0", "mockery/mockery": "^0.9.4 || ~1.0", - "pestphp/pest": "^1.23.1|^2.11", - "pestphp/pest-plugin-laravel": "^1.4|^2.1", + "pestphp/pest": "^1.23.1|^2.11|^3.8|^4.4", + "pestphp/pest-plugin-laravel": "^1.4|^2.1|^3.2|^4.1", "laravel/pint": "^1.5" }, "autoload": {