diff --git a/Makefile b/Makefile index 0272bbe8..0291bcba 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,22 @@ +# GOFLAGS="-count=1" disables the test cache so that all tests are run every time. + all: test integration examples test: - go test -race ./... + GOFLAGS="-count=1" go test -race ./... lint: staticcheck ./... integration: - go test -race -v -tags=integration ./uatest/... + GOFLAGS="-count=1" go test -race -v -tags=integration ./uatest/... examples: go build -o build/ ./examples/... test-race: - go test -race ./... - go test -race -v -tags=integration ./uatest/... + GOFLAGS="-count=1" go test -race ./... + GOFLAGS="-count=1" go test -race -v -tags=integration ./uatest/... install-py-opcua: pip3 install opcua