Skip to content

Commit c85a0d0

Browse files
amosttAygentic
andcommitted
fix(ci): add missing required env vars to generate-client workflow
Add PROJECT_NAME and FIRST_SUPERUSER environment variables that are required by Settings class in config.py but were missing from the generate-client workflow. Error was: pydantic_core._pydantic_core.ValidationError: 2 validation errors for Settings PROJECT_NAME - Field required FIRST_SUPERUSER - Field required Related to CUR-29 🤖 Generated by Aygentic Co-Authored-By: Aygentic <[email protected]>
1 parent fd20f5f commit c85a0d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/generate-client.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
- run: uv run bash scripts/generate-client.sh
4040
env:
4141
VIRTUAL_ENV: backend/.venv
42+
PROJECT_NAME: CurriculumExtractor
4243
SECRET_KEY: just-for-generating-client
44+
FIRST_SUPERUSER: [email protected]
4345
FIRST_SUPERUSER_PASSWORD: just-for-generating-client
4446
# Supabase and Redis dummy values for client generation
4547
DATABASE_URL: postgresql://postgres:password@localhost:5432/app

0 commit comments

Comments
 (0)