Skip to content

Commit

Permalink
try with jacoco
Browse files Browse the repository at this point in the history
Signed-off-by: BAStos525 <[email protected]>
  • Loading branch information
BAStos525 committed Sep 4, 2024
1 parent ce65159 commit 59f348b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Test Sonarqube with Gradle
run: ./gradlew clean test --continue jacocoTestReport sonarqube -Dsonar.token=${{ secrets.SONAR_TOKEN }}
run: ./gradlew build --info jacocoTestReport sonarqube -Dsonar.token=${{ secrets.SONAR_TOKEN }}
# - name: SonarQube
# uses: sonarsource/sonarqube-scan-action@master
# env:
Expand Down
17 changes: 0 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,23 +101,6 @@ subprojects {
// uncomment to produce shadowJar build by default
// it is disabled by default to publish original version by CI, not a fat jar
tasks.shadowJar.enabled = false

// jacocoTestReport {
// dependsOn test
// reports {
// xml.required = true
// csv.required = false
// html.required = false
// xml.outputLocation = file("$project.buildDir/reports/jacoco/coverage.xml")
// }
// }

// sonar {
// properties {
// property "sonar.projectKey", "hyperledger:iroha-java"
// property "sonar.host.url", "https://sonar.soramitsu.co.jp"
// }
// }
}

task allShadowJars {
Expand Down

0 comments on commit 59f348b

Please sign in to comment.