Skip to content

Commit 06a706b

Browse files
ci: Reactivate litellm tests (#5853)
1 parent f4634af commit 06a706b

File tree

6 files changed

+29
-6
lines changed

6 files changed

+29
-6
lines changed

.github/workflows/test-integrations-ai.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ jobs:
6969
run: |
7070
set -x # print commands that are executed
7171
./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub"
72+
- name: Test litellm
73+
run: |
74+
set -x # print commands that are executed
75+
./scripts/runtox.sh "py${{ matrix.python-version }}-litellm"
7276
- name: Test openai-base
7377
run: |
7478
set -x # print commands that are executed

scripts/populate_tox/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@
230230
"package": "launchdarkly-server-sdk",
231231
"num_versions": 2,
232232
},
233+
"litellm": {
234+
"package": "litellm",
235+
},
233236
"litestar": {
234237
"package": "litestar",
235238
"deps": {

scripts/populate_tox/package_dependencies.jsonl

Lines changed: 4 additions & 3 deletions
Large diffs are not rendered by default.

scripts/populate_tox/releases.jsonl

Lines changed: 4 additions & 3 deletions
Large diffs are not rendered by default.

scripts/split_tox_gh_actions/split_tox_gh_actions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"cohere",
8888
"google_genai",
8989
"huggingface_hub",
90+
"litellm",
9091
"openai-base",
9192
"openai-notiktoken",
9293
],

tox.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ envlist =
124124
{py3.9,py3.13,py3.14,py3.14t}-huggingface_hub-v1.7.2
125125
{py3.9,py3.13,py3.14,py3.14t}-huggingface_hub-latest
126126

127+
{py3.9,py3.12,py3.13}-litellm-v1.77.7
128+
{py3.9,py3.12,py3.13}-litellm-v1.79.3
129+
{py3.9,py3.12,py3.13}-litellm-v1.81.16
130+
{py3.9,py3.12,py3.13}-litellm-v1.82.6
131+
{py3.9,py3.12,py3.13}-litellm-latest
132+
127133
{py3.8,py3.11,py3.12}-openai-base-v1.0.1
128134
{py3.8,py3.12,py3.13}-openai-base-v1.109.1
129135
{py3.9,py3.13,py3.14,py3.14t}-openai-base-v2.29.0
@@ -533,6 +539,12 @@ deps =
533539
huggingface_hub: responses
534540
huggingface_hub: pytest-httpx
535541

542+
litellm-v1.77.7: litellm==1.77.7
543+
litellm-v1.79.3: litellm==1.79.3
544+
litellm-v1.81.16: litellm==1.81.16
545+
litellm-v1.82.6: litellm==1.82.6
546+
litellm-latest: litellm==1.82.6
547+
536548
openai-base-v1.0.1: openai==1.0.1
537549
openai-base-v1.109.1: openai==1.109.1
538550
openai-base-v2.29.0: openai==2.29.0
@@ -975,6 +987,7 @@ setenv =
975987
langchain-notiktoken: _TESTPATH=tests/integrations/langchain
976988
langgraph: _TESTPATH=tests/integrations/langgraph
977989
launchdarkly: _TESTPATH=tests/integrations/launchdarkly
990+
litellm: _TESTPATH=tests/integrations/litellm
978991
litestar: _TESTPATH=tests/integrations/litestar
979992
loguru: _TESTPATH=tests/integrations/loguru
980993
mcp: _TESTPATH=tests/integrations/mcp

0 commit comments

Comments
 (0)