We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84021a1 commit be420ebCopy full SHA for be420eb
2 files changed
.github/workflows/ci.yml
@@ -29,7 +29,18 @@ jobs:
29
- run: rebar3 compile
30
- run: rebar3 xref
31
- run: rebar3 dialyzer
32
- - run: rebar3 eunit -v
+
33
+ - name: Run tests to obtain Erlang coverage
34
+ run: |
35
+ mv test/unload_test.erl .
36
+ rebar3 eunit -v
37
+ mv _build/test/cover/eunit.coverdata .
38
39
+ - name: Run tests to obtain C coverage
40
41
+ mv unload_test.erl test/
42
43
+ mv eunit.coverdata _build/test/cover/
44
45
- name: Send to Coveralls
46
if: matrix.otp == 24
test/unload_test.erl
@@ -0,0 +1,7 @@
1
+-module(unload_test).
2
+-export([unload_test/0]).
3
4
+unload_test() ->
5
+ code:delete(fast_yaml),
6
+ code:purge(fast_yaml),
7
+ code:load_file(fast_yaml).
0 commit comments