chessh/.github/workflows/elixir.yml
2022-12-19 20:56:59 -07:00

27 lines
572 B
YAML

on: push
jobs:
test:
runs-on: ubuntu-latest
services:
db:
image: postgres:11
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
- uses: actions/setup-elixir@v1
with:
otp-version: '25'
elixir-version: '1.14.0'
- run: mix deps.get
- run: mix deps.compile
- run: mix test