run sqlite tests in parallel (#331)

This commit is contained in:
tobi
2021-11-27 13:41:00 +01:00
committed by GitHub
parent ab316d2250
commit 5ed03480e7
3 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ set -e
# "./..." = all tests
# run tests with sqlite in-memory database
GTS_DB_TYPE="sqlite" GTS_DB_ADDRESS=":memory:" go test -count 1 -p 1 ./...
GTS_DB_TYPE="sqlite" GTS_DB_ADDRESS=":memory:" go test -count 1 ./...
# run tests with postgres database at either GTS_DB_ADDRESS or default localhost
GTS_DB_TYPE="postgres" GTS_DB_ADDRESS="${GTS_DB_ADDRESS:-localhost}" go test -count 1 -p 1 ./...