File tree Expand file tree Collapse file tree 5 files changed +8
-20
lines changed Expand file tree Collapse file tree 5 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -33,23 +33,11 @@ jobs:
33
33
- name : Generate code coverage
34
34
run : |
35
35
cd unit-tests/lib_standard_app/
36
- lcov --directory . -b "$(realpath build/)" --capture --initial -o coverage.base && \
37
- lcov --rc lcov_branch_coverage=1 --directory . -b "$(realpath build/)" --capture -o coverage.capture && \
38
- lcov --directory . -b "$(realpath build/)" --add-tracefile coverage.base --add-tracefile coverage.capture -o coverage.info && \
39
- lcov --directory . -b "$(realpath build/)" --remove coverage.info '*/unit-tests/*' -o coverage.info && \
40
- genhtml coverage.info -o coverage
36
+ ../gen_coverage.sh
41
37
cd ../lib_nbgl/
42
- lcov --directory . -b "$(realpath build/)" --capture --initial -o coverage.base && \
43
- lcov --rc lcov_branch_coverage=1 --directory . -b "$(realpath build/)" --capture -o coverage.capture && \
44
- lcov --directory . -b "$(realpath build/)" --add-tracefile coverage.base --add-tracefile coverage.capture -o coverage.info && \
45
- lcov --directory . -b "$(realpath build/)" --remove coverage.info '*/unit-tests/*' -o coverage.info && \
46
- genhtml coverage.info -o coverage
38
+ ../gen_coverage.sh
47
39
cd ../app_storage/
48
- lcov --directory . -b "$(realpath build/)" --capture --initial -o coverage.base && \
49
- lcov --rc lcov_branch_coverage=1 --directory . -b "$(realpath build/)" --capture -o coverage.capture && \
50
- lcov --directory . -b "$(realpath build/)" --add-tracefile coverage.base --add-tracefile coverage.capture -o coverage.info && \
51
- lcov --directory . -b "$(realpath build/)" --remove coverage.info '*/unit-tests/*' -o coverage.info && \
52
- genhtml coverage.info -o coverage
40
+ ../gen_coverage.sh
53
41
54
42
- uses : actions/upload-artifact@v4
55
43
with :
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ CTEST_OUTPUT_ON_FAILURE=1 make -C build test
30
30
Just execute in ` unit-tests ` folder
31
31
32
32
```
33
- ./gen_coverage.sh
33
+ .. /gen_coverage.sh
34
34
```
35
35
36
36
it will output ` coverage.total ` and ` coverage/ ` folder with HTML details (in ` coverage/index.html ` ).
File renamed without changes.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ and for code coverage generation:
15
15
16
16
### For Stax
17
17
18
- In ` unit-tests ` folder, compile with:
18
+ In ` unit-tests/lib_nbgl ` folder, compile with:
19
19
20
20
```
21
21
STAX=1 cmake -Bbuild -H. && make -C build
@@ -46,7 +46,7 @@ CTEST_OUTPUT_ON_FAILURE=1 make -C build test
46
46
Just execute in ` unit-tests ` folder
47
47
48
48
```
49
- ./gen_coverage.sh
49
+ .. /gen_coverage.sh
50
50
```
51
51
52
52
it will output ` coverage.total ` and ` coverage/ ` folder with HTML details (in ` coverage/index.html ` ).
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ and for code coverage generation:
13
13
14
14
## Overview
15
15
16
- In ` unit-tests ` folder, compile with
16
+ In ` unit-tests/lib_standard_app ` folder, compile with
17
17
18
18
```
19
19
cmake -Bbuild -H. && make -C build
@@ -30,7 +30,7 @@ CTEST_OUTPUT_ON_FAILURE=1 make -C build test
30
30
Just execute in ` unit-tests ` folder
31
31
32
32
```
33
- ./gen_coverage.sh
33
+ .. /gen_coverage.sh
34
34
```
35
35
36
36
it will output ` coverage.total ` and ` coverage/ ` folder with HTML details (in ` coverage/index.html ` ).
You can’t perform that action at this time.
0 commit comments