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:
parent
36f4cf48a6
commit
5ff553f621
1 changed files with 2 additions and 2 deletions
4
.github/workflows/consolidated-tests-ci.yml
vendored
4
.github/workflows/consolidated-tests-ci.yml
vendored
|
|
@ -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/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue