diff --git a/.github/workflows/iroha2-dev-pr.yml b/.github/workflows/iroha2-dev-pr.yml index bff72e8eac..28f76f1e25 100644 --- a/.github/workflows/iroha2-dev-pr.yml +++ b/.github/workflows/iroha2-dev-pr.yml @@ -121,12 +121,12 @@ jobs: --all-features --branch --no-report - name: Generate lcov report - run: cargo llvm-cov report --text --output-path coverage.txt + run: cargo llvm-cov report --lcov --output-path lcov.info - name: Upload lcov report uses: actions/upload-artifact@v4 with: name: report-coverage - path: coverage.txt + path: lcov.info - name: Upload test network artifacts if: failure() && (steps.test_no_features.outcome == 'failure' || steps.test_all_features.outcome == 'failure') uses: actions/upload-artifact@v4 diff --git a/.github/workflows/iroha2-dev-sonar-dojo.yml b/.github/workflows/iroha2-dev-sonar-dojo.yml index a4901abeec..500261e260 100644 --- a/.github/workflows/iroha2-dev-sonar-dojo.yml +++ b/.github/workflows/iroha2-dev-sonar-dojo.yml @@ -36,7 +36,9 @@ jobs: with: args: > -Dcommunity.rust.clippy.reportPaths=lints/clippy.json - -Dsonar.cfamily.llvm-cov.reportPath=lints/coverage.txt + -Dcommunity.rust.lcov.reportPaths=lints/lcov.info + -Dsonar.cfamily.llvm-cov.reportPath=lints/lcov.info + -Dsonar.cfamily.gcov.reportsPath=lints/lcov.info -Dsonar.pullrequest.key=${{ github.event.workflow_run.pull_requests[0].number }} -Dsonar.pullrequest.base=${{ github.event.workflow_run.pull_requests[0].base.ref }} -Dsonar.pullrequest.branch=${{ github.event.workflow_run.pull_requests[0].head.ref }}