mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
ci: only run CircleCI and GitHub Actions unit tests on code changes
Gate the CircleCI build_and_test workflow behind a path-filtering setup pipeline so it only continues when .py/.ts/.tsx files changed, and add matching pull_request paths filters to the GitHub Actions unit-test workflows. Docs-only and other non-code PRs no longer spin up the full test matrices.
This commit is contained in:
parent
8bca05d311
commit
4b55eacdd3
14 changed files with 3189 additions and 3057 deletions
3069
.circleci/config.yml
3069
.circleci/config.yml
File diff suppressed because it is too large
Load diff
3069
.circleci/continue_config.yml
Normal file
3069
.circleci/continue_config.yml
Normal file
File diff suppressed because it is too large
Load diff
9
.github/workflows/test-unit-core-utils.yml
vendored
9
.github/workflows/test-unit-core-utils.yml
vendored
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
9
.github/workflows/test-unit-integrations.yml
vendored
9
.github/workflows/test-unit-integrations.yml
vendored
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
9
.github/workflows/test-unit-misc.yml
vendored
9
.github/workflows/test-unit-misc.yml
vendored
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
9
.github/workflows/test-unit-proxy-auth.yml
vendored
9
.github/workflows/test-unit-proxy-auth.yml
vendored
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
9
.github/workflows/test-unit-proxy-db.yml
vendored
9
.github/workflows/test-unit-proxy-db.yml
vendored
|
|
@ -5,6 +5,15 @@ on:
|
|||
branches:
|
||||
- main
|
||||
- litellm_internal_staging
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
|
|
|
|||
9
.github/workflows/test-unit-proxy-infra.yml
vendored
9
.github/workflows/test-unit-proxy-infra.yml
vendored
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
9
.github/workflows/test-unit-proxy-legacy.yml
vendored
9
.github/workflows/test-unit-proxy-legacy.yml
vendored
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
|
|
@ -7,6 +7,15 @@ on:
|
|||
- litellm_internal_staging
|
||||
- litellm_oss_branch
|
||||
- "litellm_**"
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
- "litellm/proxy/schema.prisma"
|
||||
- ".github/workflows/test-unit-*.yml"
|
||||
- ".github/workflows/_test-unit-base.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue