From 58f23cbb80815c93eda79e992972dc0d3adec6be Mon Sep 17 00:00:00 2001 From: Julio Quinteros Pro Date: Tue, 17 Feb 2026 22:24:20 -0300 Subject: [PATCH] fix(ci): add prisma generate step to matrix CI workflow tests/proxy_unit_tests/test_key_generate_prisma.py imports PrismaClient at module level, which triggers a Prisma binary check. Without running prisma generate first, all tests in that file ERROR at collection time with "Unable to find Prisma binaries. Please run 'prisma generate' first." Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/test-litellm-matrix.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-litellm-matrix.yml b/.github/workflows/test-litellm-matrix.yml index 1672a193161..ab5c2784093 100644 --- a/.github/workflows/test-litellm-matrix.yml +++ b/.github/workflows/test-litellm-matrix.yml @@ -102,6 +102,10 @@ jobs: run: | cd enterprise && poetry run pip install -e . && cd .. + - name: Generate Prisma client + run: | + poetry run prisma generate --schema litellm/proxy/schema.prisma + - name: Run tests - ${{ matrix.test-group.name }} run: | poetry run pytest ${{ matrix.test-group.path }} \