mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
run sqlite tests in parallel (#331)
This commit is contained in:
@@ -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 ./...
|
||||
|
Reference in New Issue
Block a user