From 06b5663ec633826267da438f9cbba08cc4bd07c4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 10 Apr 2026 16:49:46 +0530 Subject: [PATCH] fix: use example env for ci --- .github/workflows/ci.yml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6e553d..4acdef6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,8 @@ jobs: working-directory: ./frontend steps: - uses: actions/checkout@v4 + - name: Create .env from example + run: cp .env.example .env - uses: oven-sh/setup-bun@v2 with: bun-version: latest @@ -36,26 +38,15 @@ jobs: image: postgres:16-alpine env: POSTGRES_DB: piku - POSTGRES_USER: atom + POSTGRES_USER: user POSTGRES_PASSWORD: password123 ports: - 5432:5432 - options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 # wait till up before starting (integrating) django app - env: - DB_NAME: piku - DB_USER: atom - DB_PASSWORD: password123 - DB_HOST: localhost - DB_PORT: 5432 - SECRET_KEY: ci-test-secret-key - DEBUG: True - FRONTEND_URL: http://localhost:5173 - CORS_ALLOWED_ORIGINS: http://localhost:5173 - EMAIL_HOST: localhost - EMAIL_PORT: 1025 - FROM_EMAIL: ci@pi-ku.app + options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 # wait till up before starting (integrating) django app steps: - uses: actions/checkout@v4 + - name: Create .env from example + run: cp .env.example .env - name: Install uv uses: astral-sh/setup-uv@v5 with: