mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
parent
24fcc9da7c
commit
58f23cbb80
1 changed files with 4 additions and 0 deletions
4
.github/workflows/test-litellm-matrix.yml
vendored
4
.github/workflows/test-litellm-matrix.yml
vendored
|
|
@ -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 }} \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue