]> Untitled Git - lemmy.git/blob - test.sh
Change references of dev.lemmy.ml to lemmy.ml (#1281)
[lemmy.git] / test.sh
1 #!/bin/sh
2 export DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
3 diesel migration run
4 export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
5 # Integration tests only work on stable due to a bug in config-rs
6 # https://github.com/mehcode/config-rs/issues/158
7 RUST_BACKTRACE=1 RUST_TEST_THREADS=1 \
8   cargo +stable test --workspace --no-fail-fast