mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 06:22:26 -05:00
run sqlite tests in parallel (#331)
This commit is contained in:
parent
ab316d2250
commit
5ed03480e7
3 changed files with 4 additions and 4 deletions
|
|
@ -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 ./...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue