Skip to content

Commit

Permalink
ci: ajuste no github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tiago154 committed Feb 24, 2021
1 parent 7b4c9e1 commit 9113d92
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ jobs:
env:
MIX_ENV: test

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

steps:
- uses: actions/checkout@v1
- name: Install Dependencies
Expand All @@ -35,3 +45,5 @@ jobs:

- name: Run Tests
run: mix test
env:
DB_HOST: postgres

0 comments on commit 9113d92

Please sign in to comment.