-
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 936 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
fail-fast: false
matrix:
otp: ['25.1']
elixir: ['1.13.0', '1.13.1', '1.13.2', '1.13.3', '1.13.4', '1.14.0', '1.14.1']
services:
db:
image: postgres:latest
ports: ['5432:5432']
env:
POSTGRES_USER: rakon
POSTGRES_PASSWORD: rakon
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Get dependencies
run: make deps
- name: Check rakon format
run: make fmt_check
- name: Test rakon
run: make ci
- name: Build rakon
run: make build