ci(e2e): only tail stack logs when the stack actually booted

This commit is contained in:
Yuneng Jiang 2026-09-02 14:56:52 -07:00
parent 4a646dd9a0
commit b348ed7f09
No known key found for this signature in database

View file

@ -136,6 +136,7 @@ jobs:
| uv run --no-sync python .github/e2e-stack/secrets_to_env.py tests/e2e/.env
- name: Boot the stage-mirror stack
id: boot
run: bash .github/e2e-stack/up.sh
- name: Export stack environment
@ -167,5 +168,5 @@ jobs:
done
- name: Show stack logs on failure
if: failure()
if: failure() && steps.boot.conclusion != 'skipped'
run: tail -n 200 "${RUNNER_TEMP}/litellm-e2e-stack/logs"/*.log