Update test database host name
Test / test (push) Successful in 1m2s
Details
Test / test (push) Successful in 1m2s
Details
This commit is contained in:
parent
b992443a99
commit
d1f20c4a2b
|
|
@ -1,4 +1,5 @@
|
||||||
DATABASE="postgres"
|
DATABASE="postgres"
|
||||||
POSTGRES_PASSWORD="testpassword"
|
POSTGRES_PASSWORD="testpassword"
|
||||||
|
POSTGRES_HOST="database"
|
||||||
VAPID_PRIVATE_KEY="privatekey"
|
VAPID_PRIVATE_KEY="privatekey"
|
||||||
BASE_URL="http://localhost:5173"
|
BASE_URL="http://localhost:5173"
|
||||||
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: mcr.microsoft.com/playwright:v1.48.1-jammy
|
container: mcr.microsoft.com/playwright:v1.48.1-jammy
|
||||||
services:
|
services:
|
||||||
postgres:
|
database:
|
||||||
image: postgres
|
image: postgres
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: testpassword
|
POSTGRES_PASSWORD: testpassword
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
export default {
|
export default {
|
||||||
database: process.env.DATABASE ?? "postgres",
|
database: process.env.DATABASE ?? "postgres",
|
||||||
host: "database",
|
host: process.env.POSTGRES_HOST ?? "database",
|
||||||
user: "postgres",
|
user: "postgres",
|
||||||
password: process.env.POSTGRES_PASSWORD,
|
password: process.env.POSTGRES_PASSWORD,
|
||||||
port: 5432,
|
port: 5432,
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ jest.mock("./settings", () => ({
|
||||||
user: "postgres",
|
user: "postgres",
|
||||||
password: process.env.POSTGRES_PASSWORD,
|
password: process.env.POSTGRES_PASSWORD,
|
||||||
database: "test",
|
database: "test",
|
||||||
host: "localhost",
|
host: process.env.POSTGRES_HOST ?? "localhost",
|
||||||
}))
|
}))
|
||||||
|
|
||||||
describe("subscriptions", () => {
|
describe("subscriptions", () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue