Update gitlab-test.sh (#7883)
* Update gitlab-test.sh https://github.com/paritytech/parity/issues/7871 * Update aura-test.sh
This commit is contained in:
parent
a47623d3dc
commit
5e3e50c420
@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e # fail on any error
|
||||||
|
set -u # treat unset variables as error
|
||||||
|
|
||||||
cargo build -j $(nproc) --release --features final $CARGOFLAGS
|
cargo build -j $(nproc) --release --features final $CARGOFLAGS
|
||||||
git clone https://github.com/paritytech/parity-import-tests
|
git clone https://github.com/paritytech/parity-import-tests
|
||||||
cp target/release/parity parity-import-tests/aura/parity
|
cp target/release/parity parity-import-tests/aura/parity
|
||||||
|
@ -23,10 +23,10 @@ rust_test () {
|
|||||||
rustup show
|
rustup show
|
||||||
if [[ "${RUST_FILES_MODIFIED}" == "0" ]];
|
if [[ "${RUST_FILES_MODIFIED}" == "0" ]];
|
||||||
then echo "Skipping Rust tests since no Rust files modified.";
|
then echo "Skipping Rust tests since no Rust files modified.";
|
||||||
else ./test.sh;
|
else ./test.sh || exit $?;
|
||||||
fi
|
fi
|
||||||
if [[ "$CI_COMMIT_REF_NAME" == "nightly" ]];
|
if [[ "$CI_COMMIT_REF_NAME" == "nightly" ]];
|
||||||
then sh scripts/aura-test.sh;
|
then sh scripts/aura-test.sh || exit $?;
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
js_test () {
|
js_test () {
|
||||||
|
Loading…
Reference in New Issue
Block a user