2021-07-23 22:40:55 +00:00
|
|
|
#!/bin/bash
|
2021-07-24 00:57:41 +00:00
|
|
|
set -e
|
2021-07-23 22:40:55 +00:00
|
|
|
|
|
|
|
# Ensure stable builds.
|
|
|
|
cargo +stable test --no-run
|
|
|
|
cargo +stable test --no-run --features tracing
|
|
|
|
|
|
|
|
# Ensure nightly builds.
|
|
|
|
cargo +nightly test --no-run --features nightly,tracing
|
|
|
|
|
|
|
|
# Run tests on nightly.
|
2022-02-11 01:00:21 +00:00
|
|
|
RGAPI_KEY="$(cat apikey.txt)" RUST_BACKTRACE=1 RUST_LOG=riven=trace cargo +nightly test --features nightly,deny-unknown-fields -- --nocapture
|