From 9304bba7b8bf391b3407351a7304f25818cb0eb3 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 13 Nov 2024 12:53:10 +0800 Subject: [PATCH] wip --- .github/workflows/tests.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b81f00cf..83d27b58 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,7 +23,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2, 8.3, 8.4] + php: [8.1, 8.2, 8.3, 8.4] laravel: [10, 11] include: - php: '8.0' @@ -33,9 +32,9 @@ jobs: laravel: 9 - php: 8.2 laravel: 9 - - php: 8.1 - laravel: 10 exclude: + - php: 8.1 + laravel: 11 - php: 8.4 laravel: 10 @@ -58,5 +57,10 @@ jobs: run: | 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-deprecations + if: matrix.laravel >= 10 + - name: Execute tests run: vendor/bin/phpunit + if: matrix.laravel < 10