-
Notifications
You must be signed in to change notification settings - Fork 96
54 lines (54 loc) · 1.15 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
name: Test
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
otp_version: [26, 27]
steps:
- name: CHECKOUT
uses: actions/checkout@v2
- name: CONFIGURE ERLANG
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
- name: XREF
run: make xref
- name: DEPS
run: make test-deps
- name: DIALYZE
if: ${{ matrix.otp_version == 27}}
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_version}}
path: logs/*
build-bazel:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
otp_major:
- "26"
steps:
- name: CHECKOUT
uses: actions/checkout@v2
- name: TEST
run: |
bazelisk test //... --config=rbe-${{ matrix.otp_major }}