From ede2ce82c50a923d66c0feb89f6dacbd4fb70f69 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Wed, 19 Jul 2023 20:46:26 +0800 Subject: [PATCH 1/2] Run tests in random to catch non-deterministic tests --- phpunit.xml.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 8735975fa74c..09c442055003 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -10,6 +10,7 @@ columns="max" failOnRisky="true" failOnWarning="true" + executionOrder="random" verbose="true"> Date: Thu, 20 Jul 2023 14:46:23 +0800 Subject: [PATCH 2/2] Temporarily use stdout for logging --- .github/workflows/reusable-phpunit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-phpunit-test.yml b/.github/workflows/reusable-phpunit-test.yml index bea8e4c3bee6..5cb19d21a0e8 100644 --- a/.github/workflows/reusable-phpunit-test.yml +++ b/.github/workflows/reusable-phpunit-test.yml @@ -198,7 +198,7 @@ jobs: GROUP_OPTION: ${{ inputs.group-name && format('--group {0}', inputs.group-name) || '' }} - name: Run tests - run: script -e -c "vendor/bin/phpunit --color=always ${{ env.EXTRA_PHPUNIT_OPTIONS }}" + run: script -e -c "vendor/bin/phpunit --color=always ${{ env.EXTRA_PHPUNIT_OPTIONS }} --testdox-text php://stdout" env: DB: ${{ inputs.db-platform }} TACHYCARDIA_MONITOR_GA: ${{ inputs.enable-profiling && 'enabled' || '' }}