diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 872b1fed..af274362 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - 'test-improvements' - '*.x' pull_request: schedule: @@ -24,21 +23,20 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.0', 8.1, 8.2, 8.3] - laravel: [9, 10, 11] - exclude: - - php: '8.0' - laravel: 10 + php: [8.1, 8.2, 8.3, 8.4] + laravel: [10, 11] + include: - php: '8.0' - laravel: 11 + laravel: 9 - php: 8.1 - laravel: 11 + laravel: 9 - php: 8.2 - laravel: 8 - - php: 8.3 - laravel: 8 - - php: 8.3 laravel: 9 + exclude: + - php: 8.1 + laravel: 11 + - php: 8.4 + laravel: 10 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -60,4 +58,4 @@ jobs: composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}" - name: Execute tests - run: vendor/bin/phpunit + run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}