diff --git a/.github/workflows/iroha2-dev-pr.yml b/.github/workflows/iroha2-dev-pr.yml index 32436a5b0ed..feb5a1f8f56 100644 --- a/.github/workflows/iroha2-dev-pr.yml +++ b/.github/workflows/iroha2-dev-pr.yml @@ -116,12 +116,12 @@ jobs: --branch --no-report - name: Generate lcov report - run: cargo llvm-cov report --lcov --output-path lcov.info + run: cargo llvm-cov report --text --output-path coverage.txt - name: Upload lcov report uses: actions/upload-artifact@v4 with: name: report-coverage - path: lcov.info + path: coverage.txt # include: iroha/tests/integration/ # exclude: iroha/tests/integration/extra_functional diff --git a/.github/workflows/iroha2-dev-sonar-dojo.yml b/.github/workflows/iroha2-dev-sonar-dojo.yml index 8b7e305573b..a4901abeec5 100644 --- a/.github/workflows/iroha2-dev-sonar-dojo.yml +++ b/.github/workflows/iroha2-dev-sonar-dojo.yml @@ -36,7 +36,7 @@ jobs: with: args: > -Dcommunity.rust.clippy.reportPaths=lints/clippy.json - -Dcommunity.rust.lcov.reportPaths=lints/lcov.info + -Dsonar.cfamily.llvm-cov.reportPath=lints/coverage.txt -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 }}