2020-07-10 18:16:42 +00:00
|
|
|
#!/bin/sh
|
2020-12-11 14:56:20 +00:00
|
|
|
set -e
|
|
|
|
|
2020-07-10 18:16:42 +00:00
|
|
|
export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
|
2020-11-10 16:11:08 +00:00
|
|
|
# Integration tests only work on stable due to a bug in config-rs
|
|
|
|
# https://github.com/mehcode/config-rs/issues/158
|
|
|
|
RUST_BACKTRACE=1 RUST_TEST_THREADS=1 \
|
|
|
|
cargo +stable test --workspace --no-fail-fast
|