From 905d812c10884e6b113eb90c53bf935db83a3686 Mon Sep 17 00:00:00 2001 From: yuqi Date: Thu, 5 Sep 2024 20:30:54 +0800 Subject: [PATCH] Update. --- .github/workflows/build.yml | 6 +----- build.gradle.kts | 5 ++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11ad9d600c8..0111ef1a0a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/build.gradle.kts b/build.gradle.kts index e8d2b477ea0..0c27be66178 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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")) + } } }