Skip to content

Commit b71e43a

Browse files
committed
Fix sporadic CI failures
1 parent 50fa886 commit b71e43a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ tasks {
7070
exceptionFormat = TestExceptionFormat.FULL
7171
showStandardStreams = true
7272
}
73+
74+
configure<JacocoTaskExtension> {
75+
// only care about code coverage for code in this repository
76+
// (in particular avoiding netty classes which sometimes end up
77+
// causing sporadic CI failures)
78+
includes = listOf("io/opentelemetry/contrib/**")
79+
}
7380
}
7481

7582
withType<Javadoc>().configureEach {

0 commit comments

Comments
 (0)