ci: upload test report to CI
To make it possible, tweak a bit the Makefile Part-of: https://gitlab.postmarketos.org/postmarketOS/postmarketos-mkinitfs/-/merge_requests/63
This commit is contained in:
7
Makefile
7
Makefile
@@ -12,7 +12,8 @@ GO?=go
|
||||
GOFLAGS?=
|
||||
LDFLAGS+=-s -w -X main.Version=$(VERSION)
|
||||
RM?=rm -f
|
||||
GOTEST=go test -count=1 -race
|
||||
GOTESTOPTS?=-count=1 -race
|
||||
GOTEST?=go test ./...
|
||||
DISABLE_GOGC?=
|
||||
|
||||
ifeq ($(DISABLE_GOGC),1)
|
||||
@@ -47,10 +48,10 @@ test:
|
||||
fi
|
||||
@staticcheck ./...
|
||||
|
||||
@$(GOTEST) ./...
|
||||
$(GOTEST) $(GOTESTOPTS)
|
||||
|
||||
clean:
|
||||
$(RM) mkinitfs $(DOCS)
|
||||
$(RM) mkinitfs $(DOCS)
|
||||
$(RM) $(VENDORED)*
|
||||
|
||||
install: $(DOCS) mkinitfs
|
||||
|
Reference in New Issue
Block a user