diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08ffe8e..d496f9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,17 @@ jobs: if: "!contains(github.event.head_commit.message, 'ci skip')" runs-on: ubuntu-latest + services: + postgres: + env: + POSTGRES_HOST_AUTH_METHOD: trust + + image: postgres:11-alpine + options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + + ports: + - 5432:5432 + steps: - uses: actions/checkout@v2