Skip to content

Commit

Permalink
Hopefully fix for Code Coverage issues.
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Gudel <[email protected]>
  • Loading branch information
pawel-gudel-eliatra committed Jun 20, 2023
1 parent 156675d commit 5673984
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ jobs:
-x checkstyleIntegrationTest
-x test
- name: Coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./build/reports/jacoco/test/jacocoTestReport.xml

- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ task citest(type: Test) {
]
}
dependsOn copyExtraTestResources
finalizedBy jacocoTestReport
}

splitTestConfig.each{ testName, testCfg ->
Expand Down Expand Up @@ -337,6 +338,7 @@ splitTestConfig.each{ testName, testCfg ->
]
}
dependsOn copyExtraTestResources
finalizedBy jacocoTestReport
}
}

Expand All @@ -347,6 +349,7 @@ jacoco {
}

jacocoTestReport {
getExecutionData().setFrom(fileTree(buildDir).include("/jacoco/*.exec"))
reports {
xml.required = true
}
Expand Down

0 comments on commit 5673984

Please sign in to comment.