ci(lesavka): publish test categories without extra build pass

This commit is contained in:
Brad Stein 2026-05-17 12:38:22 -03:00
parent 0aac0c2f28
commit 0b7970e095

View File

@ -27,14 +27,8 @@ build_url=${BUILD_URL:-}
start_seconds=$(date +%s) start_seconds=$(date +%s)
status=0 status=0
set +e set +e
cargo build --workspace --bins --color never 2>&1 | tee "${TEST_LOG}" RUST_TEST_THREADS="${RUST_TEST_THREADS:-1}" cargo test --workspace --all-targets --no-fail-fast --color never 2>&1 | tee "${TEST_LOG}"
build_status=${PIPESTATUS[0]} 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
set -e set -e
end_seconds=$(date +%s) end_seconds=$(date +%s)
duration_seconds=$((end_seconds - start_seconds)) duration_seconds=$((end_seconds - start_seconds))