Add --frozen when running cargo (#10081)
This commit is contained in:
parent
215602de08
commit
c90e279ab5
8
test.sh
8
test.sh
@ -35,9 +35,9 @@ validate () {
|
||||
if [ "$VALIDATE" -eq "1" ]
|
||||
then
|
||||
echo "________Validate build________"
|
||||
time cargo check $@ --no-default-features
|
||||
time cargo check $@ --manifest-path util/io/Cargo.toml --no-default-features
|
||||
time cargo check $@ --manifest-path util/io/Cargo.toml --features "mio"
|
||||
time cargo check $@ --frozen --no-default-features
|
||||
time cargo check $@ --frozen --manifest-path util/io/Cargo.toml --no-default-features
|
||||
time cargo check $@ --frozen --manifest-path util/io/Cargo.toml --features "mio"
|
||||
|
||||
# Validate chainspecs
|
||||
echo "________Validate chainspecs________"
|
||||
@ -71,7 +71,7 @@ cpp_test () {
|
||||
cargo_test () {
|
||||
echo "________Running Parity Full Test Suite________"
|
||||
git submodule update --init --recursive
|
||||
time cargo test $OPTIONS --features "$FEATURES" --all $@ -- --test-threads $THREADS
|
||||
time cargo test $OPTIONS --features "$FEATURES" --frozen --all $@ -- --test-threads $THREADS
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user