4 psql -U lemmy -d postgres -c "DROP DATABASE lemmy;"
5 psql -U lemmy -d postgres -c "CREATE DATABASE lemmy;"
7 export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
8 # Commenting since this will overwrite schema.rs, which will break things now
10 # Integration tests only work on stable due to a bug in config-rs
11 # https://github.com/mehcode/config-rs/issues/158
12 RUST_BACKTRACE=1 RUST_TEST_THREADS=1 \
13 cargo test --workspace --no-fail-fast