Skip to content

Commit 36b2dcc

Browse files
committed
wip
1 parent a39335e commit 36b2dcc

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
schedule:
77
- cron: '0 0 * * *'
88
env:
9-
POSTGRES_USER: postgres
9+
POSTGRES_USER: runner
1010
POSTGRES_PASSWORD: password
1111
POSTGRES_DB: app
1212

tests/Fixtures/Config/database.postgres.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
declare(strict_types=1);
44

55
use Tempest\Database\Config\PostgresConfig;
6+
use function Tempest\env;
67

7-
return new PostgresConfig(password: 'password');
8+
9+
return new PostgresConfig(
10+
username: env('POSTGRES_USER', 'postgres'),
11+
password: env('POSTGRES_PASSWORD', ''),
12+
);

0 commit comments

Comments
 (0)