-
-
Notifications
You must be signed in to change notification settings - Fork 7
54 lines (47 loc) · 1.1 KB
/
server_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
49
50
51
52
53
54
name: Server CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
fail-fast: false
matrix:
otp: ['25.1']
elixir: [
'1.14.3',
'1.14.4',
'1.14.5',
'1.15.0',
'1.16.0',
'1.16.2'
]
services:
db:
image: postgres:latest
ports: ['5432:5432']
env:
POSTGRES_DB: lynx_dev
POSTGRES_USER: lynx
POSTGRES_PASSWORD: lynx
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 Lynx Format
run: make fmt_check
- name: Get Version
run: make v
- name: Test Lynx
run: make ci
- name: Build Lynx
run: make build