Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: myworkflow
- on: [push]
- jobs:
- build:
- runs-on: ubuntu-latest
- services:
- postgres:
- image: postgres:11
- env:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: ""
- POSTGRES_DB: postgres
- ports:
- - 5432/tcp
- # needed because the postgres container does not provide a healthcheck
- options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement