From a7a9d01f1128091c9d246541b54788d5e2562f69 Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Fri, 5 Apr 2024 18:36:55 +0200 Subject: [PATCH] Fix coverage report path --- .github/workflows/semver-ci.yml | 2 +- build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semver-ci.yml b/.github/workflows/semver-ci.yml index fcc8573..fd8b183 100644 --- a/.github/workflows/semver-ci.yml +++ b/.github/workflows/semver-ci.yml @@ -150,7 +150,7 @@ jobs: name: analysis-report path: build/reports/detekt - name: Upload reports to SonarCloud - run: ./gradlew sonarqube --stacktrace + run: ./gradlew sonar --stacktrace shell: bash deploy-snapshot: diff --git a/build.gradle.kts b/build.gradle.kts index 59cf1f2..eddf979 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -198,7 +198,7 @@ sonarqube { property("sonar.sources", "src/commonMain/kotlin/io/github/z4kn4fein/semver") property("sonar.tests", "src/commonTest/kotlin/io/github/z4kn4fein/semver") property("sonar.kotlin.detekt.reportPaths", buildDir.resolve("reports/detekt/detekt.xml")) - property("sonar.coverage.jacoco.xmlReportPaths", buildDir.resolve("reports/kover/xml/report.xml")) + property("sonar.coverage.jacoco.xmlReportPaths", buildDir.resolve("reports/kover/report.xml")) } }