File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,16 +117,15 @@ jobs:
117117 github.event_name == 'workflow_dispatch'
118118 # Job-level env is evaluated before service containers start,
119119 # so these vars are available to the postgres service block below.
120- # Values must be set as GitHub Actions Repository Variables (Settings →
121- # Secrets and variables → Variables) to match config/.env.test.
122- # Reference: config/.env.test — DATABASE_USER / DATABASE_PASSWORD / DATABASE_NAME / DATABASE_PORT
120+ # Using hardcoded CI-only test credentials that match the defaults in
121+ # tests/fixtures/settings.py — no secrets required for test DB access.
123122 services :
124123 postgres :
125124 image : postgres:16-alpine
126125 env :
127- POSTGRES_USER : ${{ secrets.DATABASE_USER }}
128- POSTGRES_PASSWORD : ${{ secrets.DATABASE_PASSWORD }}
129- POSTGRES_DB : ${{ secrets.DATABASE_NAME }}
126+ POSTGRES_USER : postgres
127+ POSTGRES_PASSWORD : postgres
128+ POSTGRES_DB : test_myproject
130129 options : >-
131130 --health-cmd pg_isready
132131 --health-interval 10s
Original file line number Diff line number Diff line change @@ -181,7 +181,6 @@ temp/
181181# ============================================================================
182182.git /
183183.gitkeep
184- .env.test
185184poetry.lock.local
186185package-lock.json.local
187186
You can’t perform that action at this time.
0 commit comments