-
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (42 loc) · 1.02 KB
/
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
40
41
42
43
44
45
46
47
48
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_DB: moose_dev
POSTGRES_USER: moose
POSTGRES_PASSWORD: moose
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Get dependencies
run: make deps
- name: Check moose format
run: make fmt_check
- name: Test moose
run: make ci
- name: Build moose
run: make build