diff options
author | 2021-11-27 13:41:00 +0100 | |
---|---|---|
committer | 2021-11-27 13:41:00 +0100 | |
commit | 5ed03480e7a03d5d957f7f43c0ad0bd46cb462c8 (patch) | |
tree | 9c1ec2bc6303561e422c51800d7276fdb0a7f64f /scripts/test.sh | |
parent | Fix broken defaults and broken flags (#314) (diff) | |
download | gotosocial-5ed03480e7a03d5d957f7f43c0ad0bd46cb462c8.tar.xz |
run sqlite tests in parallel (#331)
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-x | scripts/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test.sh b/scripts/test.sh index 09e9ae42e..befc82adf 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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 ./... |