-
Notifications
You must be signed in to change notification settings - Fork 96
52 lines (52 loc) · 1.08 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
name: Test
on: push
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
otp:
- "26"
steps:
- name: CHECKOUT
uses: actions/checkout@v2
- name: CONFIGURE ERLANG
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
- name: XREF
run: make xref
- name: DEPS
run: make test-deps
- name: DIALYZE
run: make dialyze
- name: BUILD
run: make test-build
- name: EUNIT
run: make eunit
- name: COMMON TEST
run: make ct
- name: PROPER
run: make proper
- name: CAPTURE TEST LOGS ON FAILURE
uses: actions/upload-artifact@v2-preview
if: failure()
with:
name: ct-logs-${{matrix.otp}}
path: logs/*
build-bazel:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
otp_major:
- "24"
- "25"
- "26"
steps:
- name: CHECKOUT
uses: actions/checkout@v2
- name: TEST
run: |
bazelisk test //... --config=rbe-${{ matrix.otp_major }}