Compare commits
4 commits
093443e71b
...
3f3463fcea
Author | SHA1 | Date | |
---|---|---|---|
3f3463fcea | |||
9b996c21e9 | |||
2f0d24284f | |||
9f77db48ce |
1 changed files with 3 additions and 3 deletions
|
@ -222,7 +222,7 @@ check() {
|
|||
initdb -D "$srcdir"/tmp
|
||||
postgres -D "$srcdir"/tmp --unix-socket-directories="$srcdir" > "$srcdir"/tmp/psql.log 2>&1 &
|
||||
valkey-server > "$srcdir"/tmp/valkey.log 2>&1 &
|
||||
trap "pkill valkey-server; pkill postgres" EXIT
|
||||
trap "pkill valkey-server; pkill postgresql" EXIT
|
||||
sleep 5
|
||||
psql -h "$srcdir" -d postgres -c "CREATE ROLE $POSTGRES_USER PASSWORD '$POSTGRES_PASSWORD' INHERIT LOGIN;"
|
||||
psql -h "$srcdir" -d postgres -c "CREATE DATABASE $POSTGRES_DB OWNER $POSTGRES_USER ENCODING 'UTF-8';"
|
||||
|
@ -251,12 +251,12 @@ with open(\"local.env.yml\", \"w\") as _config:
|
|||
|
||||
msg "Starting tests"
|
||||
make test
|
||||
|
||||
|
||||
# TODO: Fix go-tests
|
||||
# make go-test
|
||||
|
||||
pkill valkey-server
|
||||
pkill postgres
|
||||
pkill postgresql
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Add table
Reference in a new issue