From c717189ed2549b8dd28ec8f3ac4286e4aa748de9 Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Sat, 28 Mar 2026 10:16:19 -0700 Subject: [PATCH] [Infra] Remove workflows that require API keys or external services These test suites are not pure unit tests and don't belong in Phase 1: - litellm_utils_tests: health check tests need OPENAI_API_KEY - pass_through_unit_tests: tests hit real Anthropic API - router_unit_tests: tests call real OpenAI moderation endpoints - proxy_security_tests: requires DATABASE_URL (Postgres) - documentation_tests: requires docs directory at specific relative path These will be re-added in later phases with proper secret scoping. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/test-unit-documentation.yml | 20 ------------------- .github/workflows/test-unit-litellm-utils.yml | 20 ------------------- .github/workflows/test-unit-pass-through.yml | 20 ------------------- .github/workflows/test-unit-router.yml | 20 ------------------- .github/workflows/test-unit-security.yml | 20 ------------------- 5 files changed, 100 deletions(-) delete mode 100644 .github/workflows/test-unit-documentation.yml delete mode 100644 .github/workflows/test-unit-litellm-utils.yml delete mode 100644 .github/workflows/test-unit-pass-through.yml delete mode 100644 .github/workflows/test-unit-router.yml delete mode 100644 .github/workflows/test-unit-security.yml diff --git a/.github/workflows/test-unit-documentation.yml b/.github/workflows/test-unit-documentation.yml deleted file mode 100644 index 9ea61ec424b..00000000000 --- a/.github/workflows/test-unit-documentation.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Unit Tests: Documentation Validation" - -on: - pull_request: - branches: [main] - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - documentation: - uses: ./.github/workflows/_test-unit-base.yml - with: - test-path: "tests/documentation_tests" - workers: 2 - reruns: 1 diff --git a/.github/workflows/test-unit-litellm-utils.yml b/.github/workflows/test-unit-litellm-utils.yml deleted file mode 100644 index bc246d0cc50..00000000000 --- a/.github/workflows/test-unit-litellm-utils.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Unit Tests: LiteLLM Utilities" - -on: - pull_request: - branches: [main] - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - litellm-utils: - uses: ./.github/workflows/_test-unit-base.yml - with: - test-path: "tests/litellm_utils_tests" - workers: 2 - reruns: 2 diff --git a/.github/workflows/test-unit-pass-through.yml b/.github/workflows/test-unit-pass-through.yml deleted file mode 100644 index 18cefebd763..00000000000 --- a/.github/workflows/test-unit-pass-through.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Unit Tests: Pass-Through Endpoints" - -on: - pull_request: - branches: [main] - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - pass-through: - uses: ./.github/workflows/_test-unit-base.yml - with: - test-path: "tests/pass_through_unit_tests" - workers: 4 - reruns: 2 diff --git a/.github/workflows/test-unit-router.yml b/.github/workflows/test-unit-router.yml deleted file mode 100644 index a10259c9b98..00000000000 --- a/.github/workflows/test-unit-router.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Unit Tests: Router" - -on: - pull_request: - branches: [main] - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - router: - uses: ./.github/workflows/_test-unit-base.yml - with: - test-path: "tests/router_unit_tests" - workers: 4 - reruns: 2 diff --git a/.github/workflows/test-unit-security.yml b/.github/workflows/test-unit-security.yml deleted file mode 100644 index 4064bc83921..00000000000 --- a/.github/workflows/test-unit-security.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Unit Tests: Security" - -on: - pull_request: - branches: [main] - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - security: - uses: ./.github/workflows/_test-unit-base.yml - with: - test-path: "tests/proxy_security_tests" - workers: 1 - reruns: 1