* Use `testcontainers-go` * Wait for ready * Sleep * Remove `time.Sleep` * Wait until devices appear * Pass environment * Add `golangci-lint` to tools * Minor
15 lines
204 B
Makefile
15 lines
204 B
Makefile
TEST ?= ./...
|
|
TESTARGS ?=
|
|
TEST_COUNT ?= 1
|
|
|
|
.PHONY: default
|
|
default: build
|
|
|
|
.PHONY: build
|
|
build:
|
|
go install
|
|
|
|
.PHONY: testacc
|
|
testacc:
|
|
TF_ACC=1 go test $(TEST) -v -count=$(TEST_COUNT) $(TESTARGS)
|