CI(consolidated): drop pip show … | head -3, BrokenPipeError under pipefail

Run 25476176926 failed exit 120 because `pip show unsloth_zoo | head -3`
emits more than 3 lines, head closes the pipe, pip raises BrokenPipeError,
and `set -o pipefail` propagates that as a non-zero pipeline exit.

The `head -3` was cosmetic. Replacing with bare `pip show unsloth_zoo`
prints ~10 lines, no pipe, no surprises.
This commit is contained in:
Daniel Han 2026-05-07 04:33:50 +00:00
commit 5ff553f621

View file

@ -116,7 +116,7 @@ jobs:
https://github.com/unslothai/unsloth-zoo \
"$RUNNER_TEMP/unsloth-zoo"
pip install -e "$RUNNER_TEMP/unsloth-zoo" --no-deps
pip show unsloth_zoo | head -3
pip show unsloth_zoo
- name: Sanity — collection only (both repos)
env:
@ -215,7 +215,7 @@ jobs:
# `pip show` instead of `import unsloth_zoo` — its __init__ raises
# without an accelerator and the spoof harness only kicks in under
# pytest. Cheap and accurate.
pip show unsloth_zoo | head -3
pip show unsloth_zoo
echo "::endgroup::"
echo "Consolidated job done. Coverage:"
echo " - 16 unsloth Bucket-A tests under tests/saving/ + tests/utils/"