chessh/.github/workflows/elixir.yml

27 lines
572 B
YAML
Raw Normal View History

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