good morning!!!!

Skip to content
Snippets Groups Projects
Commit 41933438 authored by José Carlos's avatar José Carlos Committed by GitHub
Browse files

Merge pull request #292 from upper/feature/concurrent-tests

Modify Makefile to run tests concurrently
parents 678653de 5401fe27
No related branches found
No related tags found
No related merge requests found
...@@ -5,9 +5,11 @@ DB_HOST ?= 127.0.0.1 ...@@ -5,9 +5,11 @@ DB_HOST ?= 127.0.0.1
export DB_HOST export DB_HOST
test: test:
go test -v -benchtime=500ms -bench=. ./lib/... && \ go test -v -benchtime=500ms -bench=. ./lib/... & \
go test -v -benchtime=500ms -bench=. ./internal/... && \ go test -v -benchtime=500ms -bench=. ./internal/... & \
wait && \
for ADAPTER in postgresql mysql sqlite ql mongo; do \ for ADAPTER in postgresql mysql sqlite ql mongo; do \
$(MAKE) -C $$ADAPTER test; \ $(MAKE) -C $$ADAPTER test & \
done && \ done && \
wait && \
go test -v go test -v
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment