From c5c2c447558a0aab844c083bc850f9fe0e8c08cb Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 15 Jan 2026 17:33:51 +1300 Subject: [PATCH] Fix PHPUnit --exclude-group deprecation warning PHPUnit 11+ warns when using comma-separated values with --exclude-group. This warning causes the tests to return exit code 1 despite all tests passing. Fix by using separate --exclude-group flags for each group. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 05bb2d8a4e..4830b6c9b9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -225,7 +225,7 @@ jobs: -e _APP_DATABASE_SHARED_TABLES \ -e _APP_DATABASE_SHARED_TABLES_V1 \ -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes $(nproc) "$SERVICE_PATH" --exclude-group abuseEnabled,screenshots + appwrite vendor/bin/paratest --processes $(nproc) "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots - name: Failure Logs if: failure() @@ -314,7 +314,7 @@ jobs: -e _APP_DATABASE_SHARED_TABLES \ -e _APP_DATABASE_SHARED_TABLES_V1 \ -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes 4 "$SERVICE_PATH" --exclude-group abuseEnabled,screenshots + appwrite vendor/bin/paratest --processes 4 "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots - name: Failure Logs if: failure()