mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-26 22:40:21 +00:00
6 lines
214 B
Bash
6 lines
214 B
Bash
|
#!/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
|