Skip to content

Commit

Permalink
JF/chore/#19 Setup Testcontainers 2 attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
JaafarF committed Jun 27, 2023
1 parent fb38317 commit 7320e56
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ env:
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14.5
env:
POSTGRES_USER: admin
POSTGRES_PASSWORD: 1234
POSTGRES_DB: admin-unit-test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
defaults:
run:
working-directory: ./online-book-store
Expand Down

0 comments on commit 7320e56

Please sign in to comment.