From dff6f7dbe706fcc59e34193deac67c97e0b6165f Mon Sep 17 00:00:00 2001 From: jiangxin Date: Fri, 18 Oct 2024 18:16:36 +0800 Subject: [PATCH] add ut args -short --- .github/workflows/robot.yaml | 2 +- .github/workflows/utils.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/robot.yaml b/.github/workflows/robot.yaml index 89b6e53..a47b2b2 100644 --- a/.github/workflows/robot.yaml +++ b/.github/workflows/robot.yaml @@ -163,7 +163,7 @@ jobs: test_scope=$(go list ./... | grep -v 'driver\|engine/aoe\|engine/memEngine\|pkg/catalog') make clean && make config && make cgo echo "ut start" - CGO_CFLAGS="-I${GITHUB_WORKSPACE}/matrixone/cgo" CGO_LDFLAGS="-L${GITHUB_WORKSPACE}/matrixone/cgo -lmo" go test -v -tags matrixone_test -p 6 -covermode=count -coverprofile=${{ env.raw_ut_coverage }} -coverpkg=./pkg/... ${test_scope} | tee ${{ env.ut_report }} + CGO_CFLAGS="-I${GITHUB_WORKSPACE}/matrixone/cgo" CGO_LDFLAGS="-L${GITHUB_WORKSPACE}/matrixone/cgo -lmo" go test -short -v -tags matrixone_test -p 6 -covermode=count -coverprofile=${{ env.raw_ut_coverage }} -coverpkg=./pkg/... ${test_scope} | tee ${{ env.ut_report }} echo "ut finished" - name: Start BVT Test Service if: ${{ always() && !cancelled() }} diff --git a/.github/workflows/utils.yaml b/.github/workflows/utils.yaml index 9f5b3a1..0de7d24 100644 --- a/.github/workflows/utils.yaml +++ b/.github/workflows/utils.yaml @@ -134,7 +134,7 @@ jobs: test_scope=$(go list ./... | grep -v 'driver\|engine/aoe\|engine/memEngine\|pkg/catalog') make clean && make config && make cgo echo "ut start" - CGO_CFLAGS="-I${GITHUB_WORKSPACE}/matrixone/cgo" CGO_LDFLAGS="-L${GITHUB_WORKSPACE}/matrixone/cgo -lmo" go test -v -tags matrixone_test -p 6 -covermode=set -coverprofile=${{ env.raw_ut_coverage }} -coverpkg=./... ${test_scope} | tee ${{ env.ut_report }} + CGO_CFLAGS="-I${GITHUB_WORKSPACE}/matrixone/cgo" CGO_LDFLAGS="-L${GITHUB_WORKSPACE}/matrixone/cgo -lmo" go test -short -v -tags matrixone_test -p 6 -covermode=set -coverprofile=${{ env.raw_ut_coverage }} -coverpkg=./... ${test_scope} | tee ${{ env.ut_report }} echo "ut finished" - name: Start BVT Test Service if: ${{ always() && !cancelled() }}