Skip to content

Commit

Permalink
workflow: Specify services.
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunsen committed Aug 30, 2024
1 parent ac319d4 commit 2be2706
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,21 @@ jobs:
runs-on: ubicloud-standard-16
needs: debug_mode_build

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/service-action
Expand Down Expand Up @@ -83,6 +98,21 @@ jobs:
runs-on: ubicloud-standard-16
needs: debug_mode_build

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/service-action
Expand All @@ -106,6 +136,21 @@ jobs:
runs-on: ubicloud-standard-16
needs: release_mode_build

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/service-action
Expand All @@ -131,6 +176,21 @@ jobs:
runs-on: ubicloud-standard-16
needs: release_mode_build

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/service-action
Expand Down

0 comments on commit 2be2706

Please sign in to comment.