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:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user