Skip to content

Commit

Permalink
Uploading artifacts and code coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuppan committed Dec 5, 2023
1 parent cff4c65 commit c5b8d88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> = subprojects.map { proj ->
Expand Down

0 comments on commit c5b8d88

Please sign in to comment.