parent
523511dba8
commit
0a0c2a131a
@ -26,6 +26,9 @@ jobs:
|
|||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
steps:
|
steps:
|
||||||
|
- name: test ping
|
||||||
|
run: ping postgres
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -42,9 +45,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@10.0.0.145:5432/postgres
|
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||||
|
|
||||||
- name: Test API
|
- name: Test API
|
||||||
run: bun test:api
|
run: bun test:api
|
||||||
env:
|
env:
|
||||||
POSTGRES_URL: postgres://postgres:postgres@10.0.0.145:5432/postgres
|
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres
|
Loading…
Reference in New Issue
Block a user