Skip to content

Format default status as code snippet #1687

Format default status as code snippet

Format default status as code snippet #1687

Workflow file for this run

on: push
name: Test
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./platform
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ["25.2.3"]
elixir: ["1.14"]
services:
postgres:
image: postgis/postgis:15-master
env:
POSTGRES_PASSWORD: postgres
POSTGRES_PORT: 5432
POSTGRES_USER: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix test