diff --git a/scripts/ci/test_gate.sh b/scripts/ci/test_gate.sh index af0ffff..d6caf16 100755 --- a/scripts/ci/test_gate.sh +++ b/scripts/ci/test_gate.sh @@ -27,14 +27,8 @@ build_url=${BUILD_URL:-} start_seconds=$(date +%s) status=0 set +e -cargo build --workspace --bins --color never 2>&1 | tee "${TEST_LOG}" -build_status=${PIPESTATUS[0]} -if [[ "${build_status}" -eq 0 ]]; then - RUST_TEST_THREADS="${RUST_TEST_THREADS:-1}" cargo test --workspace --all-targets --color never 2>&1 | tee -a "${TEST_LOG}" - status=${PIPESTATUS[0]} -else - status=${build_status} -fi +RUST_TEST_THREADS="${RUST_TEST_THREADS:-1}" cargo test --workspace --all-targets --no-fail-fast --color never 2>&1 | tee "${TEST_LOG}" +status=${PIPESTATUS[0]} set -e end_seconds=$(date +%s) duration_seconds=$((end_seconds - start_seconds))