add tests to ci
This commit is contained in:
parent
cb75d9148a
commit
cdc0d2fa5f
2
Makefile
2
Makefile
@ -8,7 +8,7 @@ GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/ | grep -v _test.go)
|
|||||||
all: build
|
all: build
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@go test ./...
|
@go test -short ${PKG_LIST}
|
||||||
|
|
||||||
build: test ## Build the binary file
|
build: test ## Build the binary file
|
||||||
@go build -i -v $(PKG)/cmd/dnsupdater
|
@go build -i -v $(PKG)/cmd/dnsupdater
|
Loading…
Reference in New Issue
Block a user