chore: rename postgres service to test-db in CI workflow
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: setup-environment
|
needs: setup-environment
|
||||||
services:
|
services:
|
||||||
postgres:
|
test-db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
env:
|
env:
|
||||||
POSTGRES_DB: piku_test
|
POSTGRES_DB: piku_test
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
cp ../.env.example ../.env
|
cp ../.env.example ../.env
|
||||||
uv sync
|
uv sync
|
||||||
if [ "$GITEA_ACTIONS" = "true" ]; then
|
if [ "$GITEA_ACTIONS" = "true" ]; then
|
||||||
export DB_HOST="postgres"
|
export DB_HOST="test-db"
|
||||||
export DB_PORT="5432"
|
export DB_PORT="5432"
|
||||||
else
|
else
|
||||||
export DB_HOST="127.0.0.1"
|
export DB_HOST="127.0.0.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user