change (ci): fail test on warnings (#1102)

This commit is contained in:
Denis Pisarev
2020-05-15 16:29:11 +02:00
committed by GitHub
parent 3beecb028c
commit 11cd00567a
+1 -1
View File
@@ -132,7 +132,7 @@ test-linux-stable: &test
RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUSTFLAGS: -Cdebug-assertions=y
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
TARGET: native
script:
- time cargo test --all --release --verbose --locked --features runtime-benchmarks