mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-03 07:08:02 +00:00
c7b712effa
The new tests/test_litellm/translation suite was in no CI shard, so it never ran and codecov reported 0% patch coverage; add it to the misc unit-test workflow and the Makefile group so it runs and reports Allowlist the boundary JSON walkers freeze and thaw in recursive_detector, the same treatment every other cycle-free JSON/schema walker gets (bounded by input nesting depth, no cycles possible in JSON) Drop the unused engine/http.py I/O port; it had no caller in a request-only slice, so it was dead code with zero coverage. The injected port returns with the response and stream increment that actually performs I/O Add failures-as-values tests covering the parser's error branches (malformed roles, content parts, images, tools, tool_calls, tool_choice) and four more differential parity cases: system as array, stop as string, max_completion_tokens, and a tool without a description
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: "Unit Tests: MCP, Secrets, Containers & Misc"
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- litellm_internal_staging
|
|
- litellm_oss_branch
|
|
- "litellm_**"
|
|
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
pull-requests: write
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
misc:
|
|
uses: ./.github/workflows/_test-unit-base.yml
|
|
with:
|
|
test-path: >-
|
|
tests/test_litellm/secret_managers
|
|
tests/test_litellm/a2a_protocol
|
|
tests/test_litellm/anthropic_interface
|
|
tests/test_litellm/completion_extras
|
|
tests/test_litellm/containers
|
|
tests/test_litellm/experimental_mcp_client
|
|
tests/test_litellm/models
|
|
tests/test_litellm/repositories
|
|
tests/test_litellm/images
|
|
tests/test_litellm/interactions
|
|
tests/test_litellm/passthrough
|
|
tests/test_litellm/vector_stores
|
|
tests/test_litellm/translation
|
|
tests/test_litellm/test_*.py
|
|
workers: 2
|
|
reruns: 2
|
|
artifact-name: misc
|