Commit 4e2eca2
committed
code coverage: jacoco script divided into: get & generate
Motivation:
To also include pynfs tests to the code coverage we needed to separate the generate-jacoco-report.sh script functionality into two separate ones.
To be able to set JaCoCo CLI first and then run pynfs tests.
Modifications:
Added get-jacoco.sh, which checks existing cache for JaCoCo CLI and downloads it if not found.
Deleted cache and download management of JaCoCo CLI from generate-jacoco-report.sh.
Added a new job "Get JaCoCo CLI" to build.yml to run our new script get-jacoco.sh.
Moved "Generate JaCoCo Report" and "Upload JaCoCo Report" jobs after pynfs tests in build.yml
Results:
Pynfs test results are also included in the merged code coverage report.
Testing:
Validated reports locally and in CI.
Acked-by:
Target: master
Require-book: no
Require-notes: no
Committed:1 parent 1042c50 commit 4e2eca2
File tree
3 files changed
+46
-33
lines changed- .github/workflows
3 files changed
+46
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 35 | + | |
| 36 | + | |
43 | 37 | | |
44 | 38 | | |
45 | 39 | | |
| |||
58 | 52 | | |
59 | 53 | | |
60 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 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 | 14 | | |
38 | 15 | | |
39 | 16 | | |
| |||
71 | 48 | | |
72 | 49 | | |
73 | 50 | | |
74 | | - | |
75 | 51 | | |
76 | 52 | | |
77 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments