Skip to content

Commit 07aef9c

Browse files
Rory-ZturtleDeng
authored andcommitted
Update
1 parent 8303a62 commit 07aef9c

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/run_test_cases.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Run test cases
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
run_test_cases:
7+
runs-on: ubuntu-latest
8+
9+
container:
10+
image: erlang:22.1
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
- name: run test cases
15+
run: |
16+
make xref
17+
make eunit
18+
make ct
19+
make cover
20+
- uses: actions/upload-artifact@v1
21+
if: always()
22+
with:
23+
name: logs
24+
path: _build/test/logs
25+
- uses: actions/upload-artifact@v1
26+
with:
27+
name: cover
28+
path: _build/test/cover
29+

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ eunit: compile
2020
xref: compile
2121
$(REBAR) xref
2222

23+
cover:
24+
$(REBAR) cover
25+
2326
distclean:
2427
@rm -rf _build
2528
@rm -f data/app.*.config data/vm.*.args rebar.lock

0 commit comments

Comments
 (0)