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.
This commit is contained in:
Sybren A. Stüvel 2022-07-25 14:12:50 +02:00
parent 05e82ea5e4
commit bcbe35a7c7

View File

@ -172,7 +172,7 @@ swagger-ui:
test: test:
# Ensure the web-static directory exists, so that `web/web_app.go` can embed something. # Ensure the web-static directory exists, so that `web/web_app.go` can embed something.
mkdir -p ${WEB_STATIC} mkdir -p ${WEB_STATIC}
go test -p 1 -short ${PKG_LIST} go test -short ${PKG_LIST}
clean: clean:
@go clean -i -x @go clean -i -x