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:
parent
05e82ea5e4
commit
bcbe35a7c7
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user