mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
Do not run shortened tests in CI, since some codepaths are just
unexercised. Signed-off-by: Ying Li <ying.li@docker.com>
This commit is contained in:
5
Makefile
5
Makefile
@@ -90,13 +90,14 @@ gen-cover:
|
||||
@echo "mode: $(COVERMODE)" > "$(COVERPROFILE)"
|
||||
@grep -h -v "^mode:" "$(COVERDIR)"/*.cover >> "$(COVERPROFILE)"
|
||||
|
||||
cover: GO_EXC = go
|
||||
cover: GO_EXC = godep go
|
||||
OPTS = race
|
||||
cover: gen-cover
|
||||
@go tool cover -func="$(COVERPROFILE)"
|
||||
@go tool cover -html="$(COVERPROFILE)"
|
||||
|
||||
|
||||
ci: OPTS = race test.short
|
||||
ci: OPTS = race
|
||||
GO_EXC = godep go
|
||||
COVERPROFILE = coverage.out
|
||||
ci: gen-cover
|
||||
|
||||
Reference in New Issue
Block a user