Update Makefile to run all tests locally

pull/20/head
Vinícius Garcia 2022-03-27 09:49:18 -03:00
parent 60835ac429
commit 4e3cc96919
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ TIME=1s
test: setup
$(GOBIN)/richgo test $(path) $(args)
@( cd adapters/kpgx ; $(GOBIN)/richgo test $(path) $(args) )
@( cd adapters/kmysql ; $(GOBIN)/richgo test $(path) $(args) )
@( cd adapters/ksqlserver ; $(GOBIN)/richgo test $(path) $(args) )
@( cd adapters/ksqlite3 ; $(GOBIN)/richgo test $(path) $(args) )
bench:
cd benchmarks && go test -bench=. -benchtime=$(TIME)