镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 14:36:47 +00:00
ci: rename all coverage files to .gcov, ignore them in git
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
这个提交包含在:
4
Makefile
4
Makefile
@@ -17,10 +17,10 @@ $(BUILDBIN:%=build-$(ARCH)/%) : build-$(ARCH)/% : cmd/%
|
||||
GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=0 go build -o $@ -ldflags ${LDFLAGS} github.com/tuna/tunasync/$<
|
||||
|
||||
test:
|
||||
go test -v -covermode=count -coverprofile=profile.cov ./...
|
||||
go test -v -covermode=count -coverprofile=profile.gcov ./...
|
||||
|
||||
build-test-worker:
|
||||
CGO_ENABLED=0 go test -c -covermode=count ./worker
|
||||
CGO_ENABLED=0 go test -c -covermode=count github.com/tuna/tunasync/worker
|
||||
|
||||
clean:
|
||||
rm -rf build-$(ARCH)
|
||||
|
||||
在新工单中引用
屏蔽一个用户