From 53ad4a60764faa926658a6caf3eb52bc307e9fc8 Mon Sep 17 00:00:00 2001 From: aptend <49832303+aptend@users.noreply.github.com> Date: Thu, 5 Mar 2026 14:24:45 +0800 Subject: [PATCH] Redirect test output to file instead of console --- .github/workflows/utils.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/utils.yaml b/.github/workflows/utils.yaml index d9990a9..b7d498a 100644 --- a/.github/workflows/utils.yaml +++ b/.github/workflows/utils.yaml @@ -180,7 +180,7 @@ jobs: fi echo "ut start" - CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" go test -json -short -v -tags matrixone_test -p 6 -covermode=set -coverprofile=${{ env.raw_ut_coverage }} -coverpkg=./... ${test_scope} | tee ${{ env.ut_report }} + CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" go test -json -short -v -tags matrixone_test -p 6 -covermode=set -coverprofile=${{ env.raw_ut_coverage }} -coverpkg=./... ${test_scope} > ${{ env.ut_report }} echo "ut finished" - name: Analysis Fail UT Cases if: ${{ failure() }}