]> Untitled Git - lemmy.git/blob - scripts/test.sh
Merge branch 'move_views_to_diesel' into remove_travis_and_federation_docker
[lemmy.git] / scripts / test.sh
1 #!/bin/sh
2 set -e
3
4 export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
5 # Commenting since this will overwrite schema.rs, which will break things now
6 # diesel migration run
7 # Integration tests only work on stable due to a bug in config-rs
8 # https://github.com/mehcode/config-rs/issues/158
9 RUST_BACKTRACE=1 RUST_TEST_THREADS=1 \
10   cargo +1.47.0 test --workspace --no-fail-fast