diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 2190e54..0d2fd68 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -48,7 +48,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: ./gradlew test jacocoTestReport sonar + run: ./gradlew jacocoTestReport sonar asciidoc-build: # The type of runner that the job will run on diff --git a/build.gradle b/build.gradle index 0fee4a6..90becca 100644 --- a/build.gradle +++ b/build.gradle @@ -46,7 +46,7 @@ sonar { property "sonar.projectKey", "rashidi_spring-boot-tutorials" property "sonar.organization", "rashidi-github" property "sonar.host.url", "https://sonarcloud.io" - property "sonar.coverage.jacoco.xmlReportPaths", "${getLayout().getBuildDirectory().get()}/reports/jacoco/testCodeCoverageRport/testCodeCoverageReport.xml" + property "sonar.coverage.jacoco.xmlReportPaths", "${getLayout().getBuildDirectory().get()}/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml" } }