You've already forked db-wait
fix(Makefile): extract coverage
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 29s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Failing after 6s
Lint Markdown files / Run markdown linter (push) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Failing after 17s
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 29s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Failing after 6s
Lint Markdown files / Run markdown linter (push) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Failing after 17s
This commit is contained in:
6
Makefile
6
Makefile
@@ -49,10 +49,10 @@ test/integration:
|
|||||||
go test -v -p 1 -count=1 -timeout 1200s ./it/...
|
go test -v -p 1 -count=1 -timeout 1200s ./it/...
|
||||||
|
|
||||||
PHONY+=test/coverage
|
PHONY+=test/coverage
|
||||||
test/coverage: test/unit
|
test/coverage:
|
||||||
CGO_ENABLED=0 \
|
CGO_ENABLED=0 \
|
||||||
GOPROXY=$(shell go env GOPROXY) \
|
GOPROXY=$(shell go env GOPROXY) \
|
||||||
go tool cover -html=coverage.txt
|
go tool cover -func=coverage.txt
|
||||||
|
|
||||||
# GOLANGCI-LINT
|
# GOLANGCI-LINT
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
@@ -111,4 +111,4 @@ container-image/push:
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Declare the contents of the PHONY variable as phony. We keep that information
|
# Declare the contents of the PHONY variable as phony. We keep that information
|
||||||
# in a variable so we can use it in if_changed.
|
# in a variable so we can use it in if_changed.
|
||||||
.PHONY: ${PHONY}
|
.PHONY: ${PHONY}
|
||||||
|
|||||||
Reference in New Issue
Block a user