Skip to content

Commit

Permalink
[FIX] Add test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
asteriskzie committed May 18, 2024
1 parent 5b315ac commit 58fcb8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}
Expand Down

0 comments on commit 58fcb8c

Please sign in to comment.