From 561b2b3676ae4d4b495748375f71f7c1a2d66282 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 9 Oct 2024 10:54:51 +0800 Subject: [PATCH 1/9] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 75c28a9b..591798bf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,21 +23,18 @@ 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.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.4 + laravel: 10 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -56,8 +53,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with=illuminate/contracts:^${{ matrix.laravel }} - name: Execute tests run: vendor/bin/phpunit From 847ef3acedee34165d463263efd4b9cb5a64a76c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 9 Oct 2024 10:56:20 +0800 Subject: [PATCH 2/9] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 591798bf..5fac6cf3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,6 +32,8 @@ jobs: laravel: 9 - php: 8.2 laravel: 9 + - php: 8.1 + laravel: 10 exclude: - php: 8.4 laravel: 10 From a62d979bbab2ea913b2f12f8f1e30c4d283cad41 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 9 Oct 2024 10:57:26 +0800 Subject: [PATCH 3/9] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5fac6cf3..6f427be0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,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 --display-deprecations From 2531842febb78aad95761fda67c9360a3a52292a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 9 Oct 2024 11:00:08 +0800 Subject: [PATCH 4/9] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6f427be0..ef9995d5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -57,5 +57,10 @@ jobs: run: | composer update --prefer-dist --no-interaction --no-progress --with=illuminate/contracts:^${{ matrix.laravel }} - - name: Execute tests + - name: Execute tests (Deprecations) run: vendor/bin/phpunit --display-deprecations + if: matrix.php == 8.4 + + - name: Execute tests + run: vendor/bin/phpunit + if: matrix.php != 8.4 From b9fd66d4cbd3cf2ba3b77982b113791f790ee110 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 9 Oct 2024 11:23:12 +0800 Subject: [PATCH 5/9] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ef9995d5..714c6686 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,7 +58,7 @@ jobs: composer update --prefer-dist --no-interaction --no-progress --with=illuminate/contracts:^${{ matrix.laravel }} - name: Execute tests (Deprecations) - run: vendor/bin/phpunit --display-deprecations + run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation if: matrix.php == 8.4 - name: Execute tests From 7094deb9c96552e2978f7eaf1c8f03759fad8531 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 12 Nov 2024 17:54:53 +0800 Subject: [PATCH 6/9] wip --- .github/workflows/tests.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 784ce7f2..b81f00cf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,10 +58,5 @@ jobs: run: | composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}" - - name: Execute tests (Deprecations) - run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation - if: matrix.php == 8.4 - - name: Execute tests run: vendor/bin/phpunit - if: matrix.php != 8.4 From 9304bba7b8bf391b3407351a7304f25818cb0eb3 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 13 Nov 2024 12:53:10 +0800 Subject: [PATCH 7/9] 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 From 8ce03c6593bf86a29b5d2fc7d22041ed23ea6a77 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 13 Nov 2024 13:00:27 +0800 Subject: [PATCH 8/9] wip --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 83d27b58..5f9ede5c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,7 +58,7 @@ jobs: 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 + run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation if: matrix.laravel >= 10 - name: Execute tests From fb0dffbc4f837716d8b42659d0d61c5527ccfdb9 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 14 Nov 2024 14:35:04 +0800 Subject: [PATCH 9/9] Update tests.yml --- .github/workflows/tests.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5f9ede5c..af274362 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -57,10 +57,5 @@ 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-deprecation - if: matrix.laravel >= 10 - - name: Execute tests - run: vendor/bin/phpunit - if: matrix.laravel < 10 + run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}