Skip to content

Commit 0ba358c

Browse files
author
Gonzalo Diaz
committed
[CONFIG] sonarcloud coverage file path added.
1 parent e05a327 commit 0ba358c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/rust-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Upload coverage reports to Codecov with GitHub Action
6262
uses: codecov/codecov-action@v5
6363
with:
64-
files: coverage.out
64+
files: lcov.info
6565
token: ${{ secrets.CODECOV_TOKEN }} # required
6666
verbose: true # optional (default = false)
6767

@@ -87,4 +87,4 @@ jobs:
8787
with:
8888
args: >
8989
-Dsonar.externalIssuesReportPaths=sonar-issues.json
90-
-Dcommunity.rust.lcov.reportPaths=lcov.info
90+
-Dsonar.genericcoverage.reportPaths=lcov.info

sonar-project.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ sonar.organization=sir-gon
1111
#sonar.sources=.
1212

1313
# Encoding of the source code. Default is default system encoding
14-
#sonar.sourceEncoding=UTF-8
14+
#sonar.sourceEncoding=UTF-8
15+
16+
sonar.coverage.lcov.reportPaths=lcov.info

0 commit comments

Comments
 (0)