Skip to content

Commit

Permalink
main.yml services
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenia387 committed Feb 8, 2024
1 parent ad1690b commit 30feec2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ jobs:

runs-on: ubuntu-latest

services:
postgres:
image: postgres:13.11
env:
POSTGRES_USER: foodgram_user
POSTGRES_PASSWORD: njeocwHOkb
POSTGRES_DB: foodgram_db
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

steps:

- name: Check out code
Expand Down

0 comments on commit 30feec2

Please sign in to comment.