Skip to content

Commit

Permalink
Update: take 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpursley committed Feb 9, 2024
1 parent 9a486f3 commit 4d77d45
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,21 @@ jobs:
image: postgres
ports: ['5432:5432']
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: moebius_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3

- name: Create database
run: |
psql -h localhost -U postgres -c "CREATE DATABASE moebius_test;"
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
Expand All @@ -52,7 +59,9 @@ jobs:
mix deps.get
- name: Set up test data
run: mix moebius.setup
run: |
mix moebius.migrate
mix moebius.seed
- name: Check warnings
run: |
Expand Down

0 comments on commit 4d77d45

Please sign in to comment.