From 255c45fb8eba901fe4b4311b5c85f2d07f5a84b1 Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Wed, 8 Dec 2021 10:55:04 +0800 Subject: [PATCH] Update test-cpp and test-go to run unittest only (#12903) Signed-off-by: yudong.cai --- .github/workflows/main.yaml | 2 +- Makefile | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 51acca2b59..2e3d095bdf 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -66,7 +66,7 @@ jobs: env: CHECK_BUILDER: "1" run: | - ./build/builder.sh /bin/bash -c "make check-proto-product && make unittest" + ./build/builder.sh /bin/bash -c "make check-proto-product && make codecov" - name: Upload coverage to Codecov if: "github.repository == 'milvus-io/milvus'" uses: codecov/codecov-action@v2 diff --git a/Makefile b/Makefile index 0203b42fca..22251b10d2 100644 --- a/Makefile +++ b/Makefile @@ -123,13 +123,11 @@ test-querycoord: test-go: build-cpp-with-unittest @echo "Running go unittests..." - @(env bash $(PWD)/scripts/run_go_codecov.sh) -# @(env bash $(PWD)/scripts/run_go_unittest.sh) + @(env bash $(PWD)/scripts/run_go_unittest.sh) test-cpp: build-cpp-with-unittest @echo "Running cpp unittests..." - @(env bash $(PWD)/scripts/run_cpp_codecov.sh) -# @(env bash $(PWD)/scripts/run_cpp_unittest.sh) + @(env bash $(PWD)/scripts/run_cpp_unittest.sh) # Run code coverage. codecov: codecov-go codecov-cpp