|
41 | 41 | steps:
|
42 | 42 | - name: Checkout
|
43 | 43 | uses: actions/checkout@v4
|
44 |
| - with: |
45 |
| - fetch-depth: 0 |
46 | 44 |
|
47 | 45 | - name: Load ccache
|
48 | 46 | uses: actions/cache@v4
|
|
74 | 72 | ${GITHUB_WORKSPACE}/build \
|
75 | 73 | --filter ${GITHUB_WORKSPACE}/include \
|
76 | 74 | --filter ${GITHUB_WORKSPACE}/src \
|
| 75 | + --exclude ${GITHUB_WORKSPACE}/include/raptor/argument_parsing/update_arguments.hpp \ |
| 76 | + --exclude ${GITHUB_WORKSPACE}/include/raptor/argument_parsing/update_parsing.hpp \ |
| 77 | + --exclude ${GITHUB_WORKSPACE}/include/raptor/update \ |
| 78 | + --exclude ${GITHUB_WORKSPACE}/src/argument_parsing/update_parsing.cpp \ |
| 79 | + --exclude ${GITHUB_WORKSPACE}/src/update \ |
| 80 | + --exclude-lines-by-pattern '^\s*}|^\s*};|^\s*HIBF_UNREACHABLE;|^\s*\.[^\s]+ = \".*\"' \ |
| 81 | + --exclude-noncode-lines \ |
| 82 | + --exclude-throw-branches \ |
| 83 | + --exclude-unreachable-branches \ |
| 84 | + --merge-mode-functions separate \ |
| 85 | + -j \ |
| 86 | + --cobertura \ |
| 87 | + --output ${GITHUB_WORKSPACE}/build/coverage_report.xml |
| 88 | +
|
| 89 | + - name: Submit coverage report |
| 90 | + uses: codecov/codecov-action@v3.1.5 |
| 91 | + with: |
| 92 | + files: build/coverage_report.xml |
| 93 | + fail_ci_if_error: false |
| 94 | + flags: stable |
| 95 | + |
| 96 | + - name: Generate coverage report |
| 97 | + run: | |
| 98 | + rm ${GITHUB_WORKSPACE}/build/coverage_report.xml |
| 99 | + gcovr --root ${GITHUB_WORKSPACE}/test/coverage \ |
| 100 | + ${GITHUB_WORKSPACE}/build \ |
| 101 | + --filter ${GITHUB_WORKSPACE}/include/raptor/argument_parsing/update_arguments.hpp \ |
| 102 | + --filter ${GITHUB_WORKSPACE}/include/raptor/argument_parsing/update_parsing.hpp \ |
| 103 | + --filter ${GITHUB_WORKSPACE}/include/raptor/update \ |
| 104 | + --filter ${GITHUB_WORKSPACE}/src/argument_parsing/update_parsing.cpp \ |
| 105 | + --filter ${GITHUB_WORKSPACE}/src/update \ |
77 | 106 | --exclude-lines-by-pattern '^\s*}|^\s*};|^\s*HIBF_UNREACHABLE;|^\s*\.[^\s]+ = \".*\"' \
|
78 | 107 | --exclude-noncode-lines \
|
79 | 108 | --exclude-throw-branches \
|
|
88 | 117 | with:
|
89 | 118 | files: build/coverage_report.xml
|
90 | 119 | fail_ci_if_error: false
|
91 |
| - flags: current |
| 120 | + flags: experimental |
0 commit comments