ci(lesavka): publish test categories without extra build pass
This commit is contained in:
parent
0aac0c2f28
commit
0b7970e095
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user