Skip to content

Commit

Permalink
ci: adds pg container
Browse files Browse the repository at this point in the history
  • Loading branch information
wbotelhos committed Nov 10, 2020
1 parent 2db2d51 commit ff1d621
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ff1d621

Please sign in to comment.