mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
test(rust): run retained logging integration in CI
This commit is contained in:
parent
d4fb0921e1
commit
e399ec52f1
1 changed files with 14 additions and 0 deletions
14
.github/workflows/test-rust.yml
vendored
14
.github/workflows/test-rust.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue