add tests to ci

This commit is contained in:
Laurent Le Houerou 2020-10-26 14:47:06 +04:00
parent cb75d9148a
commit cdc0d2fa5f

View File

@ -8,7 +8,7 @@ GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/ | grep -v _test.go)
all: build
test:
@go test ./...
@go test -short ${PKG_LIST}
build: test ## Build the binary file
@go build -i -v $(PKG)/cmd/dnsupdater