Add testing ci pipeline #1

Merged
HashDot merged 13 commits from ci/testing into main 2024-10-01 17:04:14 +00:00
Showing only changes of commit 2381ca5794 - Show all commits

View File

@ -24,7 +24,7 @@ jobs:
--health-timeout 5s
--health-retries 5
ports:
- 5432/tcp
- 5432:5432
steps:
- name: docker ps
run: docker ps
@ -49,9 +49,9 @@ jobs:
- name: Push Database - Test
run: bun run db:push
env:
POSTGRES_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres
POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres
- name: Test API
run: bun test:api
env:
POSTGRES_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres
POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres