From f96d8a63fd7c81a748d969b49efda3760acd987e Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Sun, 29 Mar 2026 04:44:15 +0800 Subject: [PATCH] chore: upload as artifacts the debug files of failing random execution tests --- .github/workflows/test-random-execution.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test-random-execution.yml b/.github/workflows/test-random-execution.yml index 91ccfc174148..33156cb48157 100644 --- a/.github/workflows/test-random-execution.yml +++ b/.github/workflows/test-random-execution.yml @@ -223,3 +223,12 @@ jobs: env: DB: ${{ matrix.db-platform }} TERM: xterm-256color + + - name: Upload random-test artifacts on failure + if: ${{ always() && failure() }} + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + with: + name: random-tests-${{ matrix.db-platform }}-php${{ matrix.php-version }} + path: build/random-tests/ + retention-days: 1 + overwrite: true