Set host port for pg access
This commit is contained in:
1 parent
c5bfc07add
commit
7c44805ccd
1 file changed
+3
-3
@@ -48,17 +48,17 @@ jobs:
|
|||||||
npm ci
|
npm ci
|
||||||
npx dbmate up
|
npx dbmate up
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: "postgres://test_user:test_password@localhost:5432/test_db?sslmode=disable"
|
DATABASE_URL: "postgres://test_user:test_password@localhost:5433/test_db?sslmode=disable"
|
||||||
|
|
||||||
- name: Generate PgTyped Types
|
- name: Generate PgTyped Types
|
||||||
run: npm run pgtyped:compile
|
run: npm run pgtyped:compile
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: "postgres://test_user:test_password@localhost:5432/test_db?sslmode=disable"
|
DATABASE_URL: "postgres://test_user:test_password@localhost:5433/test_db?sslmode=disable"
|
||||||
|
|
||||||
- name: Run Application Tests
|
- name: Run Application Tests
|
||||||
run: npm test
|
run: npm test
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: "postgres://test_user:test_password@localhost:5432/test_db?sslmode=disable"
|
DATABASE_URL: "postgres://test_user:test_password@localhost:5433/test_db?sslmode=disable"
|
||||||
|
|
||||||
deploy-internal:
|
deploy-internal:
|
||||||
needs: test
|
needs: test
|
||||||
|
|||||||
Reference in new issue
Block a user