Release builds for local cluster tests (#5891)

* Release builds for test

* Remove setting thread count in local cluster

* Increase timeout

* Move local cluster to separate job

* Extract out local cluster test from bench-tps

* Make local cluster inaccessible from outside crate

* Update test-stable.sh to exclude local_cluster in stable, include it in local-cluster CI job

* Move bench-exchange to local cluster

* Remove local cluster from coverage
This commit is contained in:
carllin
2019-09-18 13:10:50 -07:00
committed by GitHub
parent b757294864
commit 86213d38fe
21 changed files with 257 additions and 216 deletions

View File

@ -13,9 +13,9 @@ source ci/_
reportName="lcov-${CI_COMMIT:0:9}"
if [[ -n $1 ]]; then
crate=--manifest-path=$1/Cargo.toml
crate="--manifest-path=$1/Cargo.toml"
else
crate=--all
crate="--all --exclude solana-local-cluster"
fi
coverageFlags=(-Zprofile) # Enable coverage
@ -36,8 +36,10 @@ fi
rm -rf target/cov/$reportName
source ci/rust-version.sh nightly
_ cargo +$rust_nightly build --target-dir target/cov "$crate"
_ cargo +$rust_nightly test --target-dir target/cov --lib "$crate"
# shellcheck disable=SC2086 #
_ cargo +$rust_nightly build --target-dir target/cov $crate
# shellcheck disable=SC2086 #
_ cargo +$rust_nightly test --target-dir target/cov --lib $crate
echo "--- grcov"