Skip to content

Commit

Permalink
Run tests in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpearce committed Dec 4, 2023
1 parent 78ab8f5 commit 77b9e60
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ jobs:
runs-on: ubuntu-22.04
env:
ImageOS: ubuntu22
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
Expand Down Expand Up @@ -73,7 +85,5 @@ jobs:
run: mix dialyzer --plt
- name: Check typespecs
run: mix dialyzer --format github

# Tests.
# - name: Check tests
# run: mix test
- name: Run tests
run: mix test

0 comments on commit 77b9e60

Please sign in to comment.