Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

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

Yuneng Jiangb348ed7f0970
diff --git a/.github/workflows/test-e2e-changed.yml b/.github/workflows/test-e2e-changed.yml
index 6ad252e7246..a4466bba3fd 100644
--- a/.github/workflows/test-e2e-changed.yml
+++ b/.github/workflows/test-e2e-changed.yml
@@ -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