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

29 lines
618 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: sudo apt install -y libncurses5
- run: mix deps.get
- run: mix deps.compile
- run: mix test