Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqi1129 committed Sep 5, 2024
1 parent f1f8906 commit 905d812
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -113,11 +113,7 @@ jobs:
id: jacoco
uses: madrapps/jacoco-report@fd4800e8a81e21bdf373438e5918b975df041d15
with:
paths: |
${{ github.workspace }}/api/build/reports/jacoco/test/jacocoTestReport.xml,
${{ github.workspace }}/common/build/reports/jacoco/test/jacocoTestReport.xml,
${{ github.workspace }}/server/build/reports/jacoco/test/jacocoTestReport.xml,
${{ github.workspace }}/core/build/reports/jacoco/test/jacocoTestReport.xml
paths: ${{ github.workspace }}/**/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 40
min-coverage-changed-files: 60
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -421,7 +421,10 @@ subprojects {
jvmArgs = listOf("-Xmx2G")
useJUnitPlatform()
jvmArgs(project.property("extraJvmArgs") as List<*>)
finalizedBy(tasks.getByName("jacocoTestReport"))

if (project.name != "integration-test-common") {
finalizedBy(tasks.getByName("jacocoTestReport"))
}
}
}

0 comments on commit 905d812

Please sign in to comment.