1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-01-13 19:00:58 +00:00
lemmy/server/test.sh
2020-07-10 14:16:42 -04:00

6 lines
214 B
Bash
Executable file
Vendored

#!/bin/sh
export DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
diesel migration run
export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
RUST_TEST_THREADS=1 cargo test --workspace