Skip to content

Commit b1f9952

Browse files
committed
[INFRA] Coverage
1 parent 049c8a4 commit b1f9952

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci_coverage.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
${GITHUB_WORKSPACE}/build \
5959
--filter ${GITHUB_WORKSPACE}/include \
6060
--filter ${GITHUB_WORKSPACE}/src \
61-
--exclude-lines-by-pattern '^\s*}|^\s*};' \
61+
--exclude-lines-by-pattern '^\s*}|^\s*};|^\s*\.[^\s]+\s*=\s*\".*\"' \
6262
--exclude-noncode-lines \
6363
--exclude-throw-branches \
6464
--exclude-unreachable-branches \
@@ -67,8 +67,12 @@ jobs:
6767
--cobertura \
6868
--output ${GITHUB_WORKSPACE}/build/coverage_report.xml
6969
70+
# https://docs.codecov.com/docs/adding-the-codecov-token
7071
- name: Submit coverage build
71-
uses: codecov/codecov-action@v3.1.5
72+
uses: codecov/codecov-action@v5.4.0
7273
with:
73-
files: build/coverage_report.xml
74+
disable_search: true
7475
fail_ci_if_error: false
76+
files: build/coverage_report.xml
77+
plugins: noop
78+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)