mirror of https://github.com/LemmyNet/lemmy
Fixing travis, adding a test.sh script.
parent
80aef61aed
commit
181374d2cc
@ -0,0 +1,5 @@
|
||||
#!/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
|
Loading…
Reference in New Issue