Skip to content

Commit

Permalink
all: JacocoMerge must run after grpc-interop-testing's tests (#8093)
Browse files Browse the repository at this point in the history
Otherwise the executionData would be out-of-date.
  • Loading branch information
ejona86 committed Apr 16, 2021
1 parent 9614738 commit 31cfb6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions all/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ javadoc {

task jacocoMerge(type: JacocoMerge) {
dependsOn(subprojects.jacocoTestReport.dependsOn)
dependsOn(project(':grpc-interop-testing').jacocoTestReport.dependsOn)
mustRunAfter(subprojects.jacocoTestReport.mustRunAfter)
mustRunAfter(project(':grpc-interop-testing').jacocoTestReport.mustRunAfter)
destinationFile = file("${buildDir}/jacoco/test.exec")
executionData = files(subprojects.jacocoTestReport.executionData)
.plus(project(':grpc-interop-testing').jacocoTestReport.executionData)
Expand Down

0 comments on commit 31cfb6d

Please sign in to comment.