ci: rename postgres hostname, add postgres_url to test run
This commit is contained in:
parent
8f53f4c675
commit
3f53b112ae
@ -3,7 +3,7 @@ run-name: ${{ gitea.actor }}
|
|||||||
on: [workflow_call]
|
on: [workflow_call]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
@ -38,7 +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:
|
||||||
|
POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres
|
Loading…
Reference in New Issue
Block a user