From 9de17025d1d93f78178a6238a26014b50ec3e0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=BF=B5=E5=90=9B=20Nianjun=20Sun?= Date: Mon, 26 Aug 2024 10:10:37 +0800 Subject: [PATCH] Refactor : update the sonarcloud coverage report (#32676) --- .github/workflows/nightly-check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nightly-check.yml b/.github/workflows/nightly-check.yml index 9889c3cd4127b..1f6db590d48b9 100644 --- a/.github/workflows/nightly-check.yml +++ b/.github/workflows/nightly-check.yml @@ -248,6 +248,7 @@ jobs: ./mvnw --show-version --batch-mode --no-transfer-progress verify -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false && chmod +x ./.github/workflows/resources/scripts/unit-test-coverage-merge/code-coverage-merge.sh && ./.github/workflows/resources/scripts/unit-test-coverage-merge/code-coverage-merge.sh ${{ github.workspace }} + ./mvnw -Dsonar.coverage.jacoco.xmlReportPaths=${{ github.workspace }}/target/mergeReport/jacoco.xml sonar:sonar -Pcoverage - name: Upload coverage reports to codecov uses: codecov/codecov-action@v4 with: