Skip to content

Commit b6f7141

Browse files
author
Daniela Butano
authored
Added postgres service
1 parent f21ad5c commit b6f7141

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/im-build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ jobs:
88
build:
99

1010
runs-on: ubuntu-latest
11+
12+
services:
13+
# Label used to access the service container
14+
postgres:
15+
image: postgres:11
16+
env:
17+
POSTGRES_USER: postgres
18+
POSTGRES_PASSWORD: postgres
19+
options: >-
20+
--health-cmd pg_isready
21+
--health-interval 10s
22+
--health-timeout 5s
23+
--health-retries 5
24+
ports:
25+
- 5432/tcp
1126
env:
1227
TESTMODEL_URL: http://localhost:8080/intermine-demo
1328
TESTMODEL_PATH: intermine-demo

0 commit comments

Comments
 (0)