Skip to content

Commit 7a164dd

Browse files
authored
make GOBUILD_OPT=-cover (#250)
1 parent a65b159 commit 7a164dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/utils.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,8 @@ jobs:
301301
cd $GITHUB_WORKSPACE/matrixone
302302
sed -i.bak 's/level = "info"/level = "error"/g' ./etc/launch/log.toml
303303
if [ -d "./store" ]; then rm -rf ./store; fi
304-
GOLDFLAGS=-ldflags="-X 'main.GoVersion=$(go version)' -X 'main.BranchName=$(git rev-parse --abbrev-ref HEAD)' -X 'main.CommitID=$(git rev-parse HEAD)' -X 'main.BuildTime=$(date)' -X 'main.Version=$(git describe --always --tags $(git rev-list --tags --max-count=1))'"
305304
export GOCOVERDIR=$GITHUB_WORKSPACE/matrixone
306-
go build -cover "$GOLDFLAGS" -o mo-service ./cmd/mo-service/
305+
make GOBUILD_OPT=-cover build
307306
./optools/run_bvt.sh $GITHUB_WORKSPACE/matrixone launch
308307
- name: Update BVT SQL Timeout
309308
run: |

0 commit comments

Comments
 (0)