fix: build shared packages and use the mapped CI database port
This commit is contained in:
1 parent
62db511c7b
commit
b4e9651529
2 files changed
+4
-3
No files matched your search
@@ -37,7 +37,7 @@ jobs:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: collabtable_test
|
||||
ports:
|
||||
- 5432:5432
|
||||
- 5432/tcp
|
||||
options: >-
|
||||
--health-cmd "pg_isready -U postgres"
|
||||
--health-interval 5s
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
env:
|
||||
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/collabtable_test?sslmode=disable
|
||||
TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/collabtable_test?sslmode=disable"
|
||||
|
||||
frontend:
|
||||
name: Dashboard checks
|
||||
|
||||
Reference in new issue
Block a user