sourcegraph/dev/ci/reset-test-db.sh
Robert Lin 4ed1766055
dev/ci: remove set -x in all tests (#36577)
IMO the utility of these are quite debatable, and they make CI output quite difficult to read. Things we can do instead:

- Just add set -x when you're debugging something
- Add better messages with echo
- Move things to sg where we might be able to add a -debug mode one day
2022-06-03 13:52:48 -07:00

8 lines
155 B
Bash
Executable File

#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE[0]}")"/../..
set -e
psql -d sourcegraph-test-db -c 'drop schema public cascade; create schema public;'