mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
CI/CD: code coverage and bazel improvements
This commit is contained in:
@@ -13,7 +13,7 @@ debug: doc
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -v -race -cover ./pkg/... ./cmd/...
|
||||
go test -v -race -cover -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
||||
./bin/golangci-lint:
|
||||
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.17.1
|
||||
|
||||
Reference in New Issue
Block a user