Skip to content

Commit

Permalink
add postgres service to GitHub Workflow #55
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Oct 16, 2021
1 parent 2f7986c commit 849dcc3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ jobs:
build:
name: Build and test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
ports: ['5432:5432']
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
Expand Down

0 comments on commit 849dcc3

Please sign in to comment.