diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 675f961..a1696a3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -75,5 +75,10 @@ jobs: composer require --no-update composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}" + - name: Execute tests (display deprecations) + run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation + if: matrix.laravel >= 10 + - name: Execute tests run: vendor/bin/phpunit + if: matrix.laravel < 10