From bcbe35a7c7a6842df5eefb5db5a1422cf1cde74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 25 Jul 2022 14:12:50 +0200 Subject: [PATCH] Run Go tests in parallel Earlier versions of the code didn't have proper separation of SQLite databases for the unit tests. Tests nowadays use separate in-memory databases, so they can run in parallel just fine. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5a83223b..778b4a88 100644 --- a/Makefile +++ b/Makefile @@ -172,7 +172,7 @@ swagger-ui: test: # Ensure the web-static directory exists, so that `web/web_app.go` can embed something. mkdir -p ${WEB_STATIC} - go test -p 1 -short ${PKG_LIST} + go test -short ${PKG_LIST} clean: @go clean -i -x