ci: use postgres as hostname
This commit is contained in:
parent
9349fb6c77
commit
079ae7791c
@ -22,9 +22,6 @@ jobs:
|
|||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
steps:
|
steps:
|
||||||
- name: Test Print
|
|
||||||
run: docker ps
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -41,9 +38,9 @@ jobs:
|
|||||||
- name: Push Database
|
- name: Push Database
|
||||||
run: bun run db:push
|
run: bun run db:push
|
||||||
env:
|
env:
|
||||||
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres
|
POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres
|
||||||
|
|
||||||
- name: Test API
|
- name: Test API
|
||||||
run: bun test:api
|
run: bun test:api
|
||||||
env:
|
env:
|
||||||
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres
|
POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres
|
Loading…
Reference in New Issue
Block a user