-
Notifications
You must be signed in to change notification settings - Fork 84
50 lines (42 loc) · 1.02 KB
/
run_test_case.yaml
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
name: Run test case
on: [push, pull_request]
jobs:
run_test_case:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
otp:
- erlang:26
- erlang:25
- erlang:24
container:
image: ${{ matrix.otp }}
steps:
- uses: actions/checkout@v1
- name: Code dialyzer
run: |
make xref
make dialyzer
- name: Run tests
run: |
make eunit
make ct
make cover
- uses: actions/upload-artifact@v1
if: failure()
with:
name: logs
path: _build/test/logs
coveralls:
runs-on: ubuntu-latest
container:
image: erlang:25
steps:
- uses: actions/checkout@v1
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
rebar3 as test do eunit,ct,cover
make coveralls