Skip to content

Commit 1560fa1

Browse files
committed
chore: change docker image for test
1 parent 504814a commit 1560fa1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
matrix:
1313
postgres-version:
1414
# - { tag: "14", sha: "sha256:bbcaba1d74865ee6d6318b5e297d0df73d1f6b6d995cd892b60a2cf1440b716a" }
15-
- { tag: "15", sha: "sha256:f57a3bdbf044f0b213fdc99f35a0d21c401608bf41f063176ec00c51df9655f7" }
16-
- { tag: "16", sha: "sha256:47053cd4ee3f096afc744e53e3280de7b29b3670d2f2196c2acc0c6470923c99" }
15+
- { tag: "15", sha: "sha256:f91f2248e87bff8bc5b1040088148b53a3727cbe60e134589bf993e1aede847f" }
16+
- { tag: "16", sha: "sha256:4a545143208455e426d0f024dc57df39629470eeef1afa1fc4764b9d4147e277" }
1717
services:
1818
postgres:
1919
image: postgres:${{ matrix.postgres-version.tag }}@${{ matrix.postgres-version.sha }}
2020
ports:
2121
- 5432:5432
2222
env:
23-
POSTGRES_PASSWORD: postgres
23+
POSTGRES_PASSWORD: testpassword
2424
POSTGRES_DB: mission-control
2525
# Set health checks to wait until postgres has started
2626
options: >-
@@ -47,7 +47,7 @@ jobs:
4747
- name: Test
4848
run: make test
4949
env:
50-
DUTY_DB_URL: postgres://postgres:postgres@localhost:5432/mission-control?sslmode=disable
50+
DUTY_DB_URL: postgres://postgres:testpassword@localhost:5432/mission-control?sslmode=disable
5151
DUTY_DB_CREATE: "false"
5252
DUTY_DB_DISABLE_RLS: ${{ matrix.postgres-version.tag == '14' && 'true' || 'false' }}
5353

0 commit comments

Comments
 (0)