Skip to content

Commit ae6e92d

Browse files
authored
Merge pull request #67 from dirkmueller/master
Cleanup tests
2 parents 260e952 + e0f8a08 commit ae6e92d

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,11 @@ test-unit:
2525
validate-go:
2626
build/ci/climate -t 80 -o internal
2727
build/ci/climate -t 80 -o internal/regionsrv
28+
go mod verify
2829

2930
@which gofmt >/dev/null 2>/dev/null || (echo "ERROR: gofmt not found." && false)
30-
test -z "$$(gofmt -s -l . | grep -vE '^vendor/' | tee /dev/stderr)"
31+
test -z "$$(gofmt -s -l . | tee /dev/stderr)"
3132
@which staticcheck >/dev/null 2>/dev/null || echo "WARNING: staticcheck not found." || true
3233
@which "staticcheck" >/dev/null 2>/dev/null && "$$(staticcheck -tests=false 2>&1 | tee /dev/stderr)" || true
3334
@go doc cmd/vet >/dev/null 2>/dev/null || (echo "ERROR: go vet not found." && false)
34-
test -z "$$(go vet $$(go list $(PROJECT)/... | grep -vE '^vendor/') 2>&1 | tee /dev/stderr)"
35-
36-
mod:
37-
export GO111MODULE=on \
38-
go mod tidy && \
39-
go mod vendor && \
40-
go mod verify
35+
test -z "$$(go vet $$(go list $(PROJECT)/... ) 2>&1 | tee /dev/stderr)"

0 commit comments

Comments
 (0)