This commit is contained in:
parent
6b6097c7ad
commit
2381ca5794
@ -24,7 +24,7 @@ jobs:
|
|||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
ports:
|
ports:
|
||||||
- 5432/tcp
|
- 5432:5432
|
||||||
steps:
|
steps:
|
||||||
- name: docker ps
|
- name: docker ps
|
||||||
run: docker ps
|
run: docker ps
|
||||||
@ -49,9 +49,9 @@ jobs:
|
|||||||
- name: Push Database - Test
|
- name: Push Database - Test
|
||||||
run: bun run db:push
|
run: bun run db:push
|
||||||
env:
|
env:
|
||||||
POSTGRES_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[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:${{ job.services.postgres.ports[5432] }}/postgres
|
POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres
|
Loading…
Reference in New Issue
Block a user