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: check out litellm-docs directly into docs/my-website

Yuneng Jiangd42281338e6b
diff --git a/.github/workflows/test-code-quality.yml b/.github/workflows/test-code-quality.yml
index da0cbcd9154..4f09857eb1b 100644
--- a/.github/workflows/test-code-quality.yml
+++ b/.github/workflows/test-code-quality.yml
@@ -25,21 +25,13 @@ jobs:
with:
persist-credentials: false
- - name: Checkout litellm-docs (for documentation_tests)
+ - name: Checkout litellm-docs into docs/my-website (for documentation_tests)
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
repository: BerriAI/litellm-docs
- path: _litellm_docs_checkout
+ path: docs/my-website
persist-credentials: false
- - name: Wire up docs path expected by documentation_tests/*
- run: |
- # documentation_tests scripts read from docs/my-website/docs/...
- # In litellm-docs the same files live at docs/... (repo root).
- # Point docs/my-website -> litellm-docs checkout so the paths resolve.
- rm -rf docs/my-website
- ln -s ../_litellm_docs_checkout docs/my-website
-
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
diff --git a/.github/workflows/test-unit-documentation.yml b/.github/workflows/test-unit-documentation.yml
index 701c7687c50..b2a8640223a 100644
--- a/.github/workflows/test-unit-documentation.yml
+++ b/.github/workflows/test-unit-documentation.yml
@@ -25,6 +25,13 @@ jobs:
with:
persist-credentials: false
+ - name: Checkout litellm-docs into docs/my-website (for documentation_tests)
+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
+ with:
+ repository: BerriAI/litellm-docs
+ path: docs/my-website
+ persist-credentials: false
+
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with: