mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 22:31:20 +00:00
Merge pull request 'Update test script' (#182) from update-test-script into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/182
This commit is contained in:
commit
45a94203f2
1 changed files with 1 additions and 5 deletions
|
@ -5,9 +5,5 @@ psql -U lemmy -d postgres -c "DROP DATABASE lemmy;"
|
||||||
psql -U lemmy -d postgres -c "CREATE DATABASE lemmy;"
|
psql -U lemmy -d postgres -c "CREATE DATABASE lemmy;"
|
||||||
|
|
||||||
export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
|
export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
|
||||||
# Commenting since this will overwrite schema.rs, which will break things now
|
RUST_BACKTRACE=1 \
|
||||||
# diesel migration run
|
|
||||||
# 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 test --workspace --no-fail-fast
|
cargo test --workspace --no-fail-fast
|
||||||
|
|
Loading…
Reference in a new issue