Execute set -e after source setenv.sh (#23974)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/24009/head
congqixia 2023-05-10 16:05:20 +08:00 committed by GitHub
parent 2969c80c6c
commit db5c4052da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -19,12 +19,12 @@
FILE_COVERAGE_INFO="go_coverage.txt"
FILE_COVERAGE_HTML="go_coverage.html"
set -ex
echo "mode: atomic" > ${FILE_COVERAGE_INFO}
BASEDIR=$(dirname "$0")
source $BASEDIR/setenv.sh
set -ex
echo "mode: atomic" > ${FILE_COVERAGE_INFO}
# run unittest
echo "Running unittest under ./internal & ./pkg"