From 58fcb8c9b1c0a5fdb1e73a7054c5ba0e9758c148 Mon Sep 17 00:00:00 2001 From: asteriskzie Date: Sat, 18 May 2024 20:03:26 +0700 Subject: [PATCH] [FIX] Add test coverage --- .github/workflows/sonarcloud.yml | 13 ------------- build.gradle.kts | 3 ++- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 3fc2599..5e50c08 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -41,19 +41,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check out the Git repository - uses: actions/checkout@v4 - - - name: Set up Java toolchain - uses: actions/setup-java@v4 - with: - distribution: "temurin" - java-version: "21" - cache: "gradle" - - - name: Build - run: ./gradlew build - - name: Analyze with SonarCloud # You can pin the exact commit or the version. # uses: SonarSource/sonarcloud-github-action@de2e56b42aa84d0b1c5b622644ac17e505c9a049 diff --git a/build.gradle.kts b/build.gradle.kts index 01cc3e8..1fc1f0a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -50,7 +50,8 @@ tasks.jacocoTestReport { })) dependsOn(tasks.test) reports { - xml.required.set(false) + xml.required.set(true) + html.required.set(true) csv.required.set(false) html.outputLocation.set(layout.buildDirectory.dir("jacocoHtml")) }