mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-31 18:20:50 +00:00
Sync CI configs with upstream/litellm_internal_staging: - Migrate from Poetry to uv (PR #25007) - Pull in zizmor security fixes for workflows - Add isolated unit test workflows + reusable bases - Drop redundant matrix workflow and azure-batches workflow - Drop .circleci/requirements.txt (replaced by uv lockfile)
29 lines
698 B
YAML
29 lines
698 B
YAML
name: "Unit Tests: Security"
|
|
|
|
# Kept push-only (was previously required by DATABASE_URL secret scoping;
|
|
# now the postgres credentials are ephemeral localhost values but the
|
|
# push-trigger stays to match the proxy-db workflow cadence).
|
|
on:
|
|
push:
|
|
branches: [main, "litellm_**"]
|
|
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
pull-requests: write
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
security:
|
|
uses: ./.github/workflows/_test-unit-services-base.yml
|
|
with:
|
|
test-path: "tests/proxy_security_tests/"
|
|
workers: 1
|
|
reruns: 2
|
|
timeout-minutes: 20
|
|
enable-postgres: true
|
|
artifact-name: security
|