diff --git a/ci/test-stable-perf.sh b/ci/test-stable-perf.sh index 50eaf200b..8089d221b 100755 --- a/ci/test-stable-perf.sh +++ b/ci/test-stable-perf.sh @@ -20,7 +20,12 @@ _() { "$@" } -_ cargo test --features=cuda,erasure,chacha +FEATURES=cuda,erasure,chacha +_ cargo test --verbose --features=$FEATURES --lib + +# Run integration tests serially +# shellcheck disable=SC2016 +_ find tests -type file -exec sh -c 'echo --test=$(basename ${0%.*})' {} \; | xargs cargo test --verbose --jobs=1 --features=$FEATURES echo --- ci/localnet-sanity.sh ( diff --git a/ci/test-stable.sh b/ci/test-stable.sh index efd2f0685..9c8263c8e 100755 --- a/ci/test-stable.sh +++ b/ci/test-stable.sh @@ -13,9 +13,13 @@ _() { _ cargo fmt -- --check _ cargo build --verbose -_ cargo test --verbose +_ cargo test --verbose --lib _ cargo clippy -- --deny=warnings +# Run integration tests serially +# shellcheck disable=SC2016 +_ find tests -type file -exec sh -c 'echo --test=$(basename ${0%.*})' {} \; | xargs cargo test --verbose --jobs=1 + echo --- ci/localnet-sanity.sh ( set -x