From c5b8d88c4d54b7ae374033c61e51d90ac6d9c429 Mon Sep 17 00:00:00 2001 From: Naveen Kumar Kuppan Date: Tue, 5 Dec 2023 01:01:02 +0100 Subject: [PATCH] Uploading artifacts and code coverage reports --- .github/workflows/build.yml | 6 +++--- build.gradle.kts | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9155574..51bee3d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,11 +73,11 @@ jobs: uses: actions/upload-artifact@v2 with: name: report - path: './reports.xml' + path: '**/build/reports/' - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - files: './reports.xml' - full_report: './reports.xml' + files: '**/build/reports/', '**/build/reports/allDebugCoverage.xml' + full_report: '**/build/reports/allDebugCoverage.xml' diff --git a/build.gradle.kts b/build.gradle.kts index 70943300..26b33e18 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -117,7 +117,6 @@ tasks.create("allDebugCoverage", JacocoReport::class) { reports { xml.required.set(true) html.required.set(true) - xml.outputLocation = File(rootDir, "reports.xml") } val jClasses: List = subprojects.map { proj ->