-
Notifications
You must be signed in to change notification settings - Fork 89
65 lines (54 loc) · 1.14 KB
/
erlang.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
55
56
57
58
59
60
61
62
63
64
65
name: Erlang CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
erlang: [ 23,24 ]
container:
image: erlang:${{ matrix.erlang }}
steps:
- uses: actions/checkout@v2
- run: make compile
test:
runs-on: ubuntu-latest
strategy:
matrix:
erlang: [ 23,24 ]
container:
image: erlang:${{ matrix.erlang }}
steps:
- uses: actions/checkout@v2
- run: make compile
- name: Run epmd
run: epmd -daemon
- name: Unit Tests
run: make test
- name: Property-Based Tests
run: make proper
- name: System Tests
run: make systests
- name: Coverage
run: make coverage
- name: Send Coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./rebar3 as test coveralls send
verify:
runs-on: ubuntu-latest
strategy:
matrix:
erlang: [ 23,24 ]
container:
image: erlang:${{ matrix.erlang }}
steps:
- uses: actions/checkout@v2
- name: Xref
run: make xref
- name: Lint
run: make lint
- name: Dialyzer
run: make dialyzer