fix(ci): add codecov
This commit is contained in:
9
Makefile
9
Makefile
@ -189,10 +189,7 @@ test/goldenfiles/bindata.go:
|
||||
# ==============================================================================
|
||||
PHONY+=test/unit
|
||||
test/unit: clean bindata
|
||||
go test -coverprofile coverage.html -v ./...
|
||||
|
||||
test/cover-html: test/unit
|
||||
go tool cover -html coverage.html
|
||||
go test -v -race -coverprofile=coverage.txt -covermode=atomic $(shell go list ./... | grep -v db)
|
||||
|
||||
# PACKAGES
|
||||
# ==============================================================================
|
||||
@ -259,8 +256,8 @@ container-run/bindata:
|
||||
|
||||
# CONTAINER STEPS - TEST
|
||||
# ==============================================================================
|
||||
PHONY+=container-run/test
|
||||
container-run/test:
|
||||
PHONY+=container-run/test/unit
|
||||
container-run/test/unit:
|
||||
$(MAKE) container-run COMMAND=${@:container-run/%=%}
|
||||
|
||||
# CONTAINER STEPS - OTHER STUF
|
||||
|
Reference in New Issue
Block a user