Skip to content

Commit 6808db8

Browse files
committed
added postgres service to piepline
1 parent 43fb54a commit 6808db8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/continious_integration.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@ jobs:
1313
permissions:
1414
contents: read
1515
packages: write
16-
16+
services:
17+
postgres:
18+
image: postgres:16
19+
env:
20+
POSTGRES_USER: postgres
21+
POSTGRES_PASSWORD: postgres
22+
POSTGRES_DB: postgres
23+
ports:
24+
- 5432:5432
25+
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
1726
steps:
1827
- name: Checkout repository
1928
uses: actions/checkout@v3

0 commit comments

Comments
 (0)