test(rust): run retained logging integration in CI

This commit is contained in:
Yujong Lee 2026-09-06 15:43:56 -07:00
parent d4fb0921e1
commit e399ec52f1

View file

@ -6,6 +6,7 @@ on:
- "litellm-rust/**"
- ".cargo/**"
- "pyproject.toml"
- "uv.lock"
- "rust-toolchain.toml"
- ".github/actions/setup-uv-with-retries/**"
- ".github/scripts/smoke_test_native_wheel.py"
@ -22,6 +23,7 @@ on:
- "litellm-rust/**"
- ".cargo/**"
- "pyproject.toml"
- "uv.lock"
- "rust-toolchain.toml"
- ".github/actions/setup-uv-with-retries/**"
- ".github/scripts/smoke_test_native_wheel.py"
@ -125,3 +127,15 @@ jobs:
--config-setting "maturin.build-args=--features panic-test,extension-module"
- run: python .github/scripts/smoke_test_native_wheel.py panic-dist/*.whl
- name: Install locked SDK dependencies for retained callback tests
run: uv sync --frozen --no-default-groups --no-install-project --python 3.12
- name: Test retained callbacks with real Python logging
env:
PYO3_PYTHON: ${{ github.workspace }}/.venv/bin/python
PYTHONPATH: ${{ github.workspace }}:${{ github.workspace }}/.venv/lib/python3.12/site-packages
LITELLM_LOCAL_MODEL_COST_MAP: "True"
run: >-
cargo test --manifest-path litellm-rust/Cargo.toml
-p litellm-python-interop --test prepared_call --locked -- --include-ignored