Skip to content

Commit 4b77188

Browse files
committed
Fix sporadic CI failures
1 parent 4c76654 commit 4b77188

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
@@ -76,6 +76,13 @@ tasks {
7676
exceptionFormat = TestExceptionFormat.FULL
7777
showStandardStreams = true
7878
}
79+
80+
configure<JacocoTaskExtension> {
81+
// only care about code coverage for code in this repository
82+
// (in particular avoiding netty classes which sometimes end up
83+
// causing sporadic CI failures)
84+
includes = listOf("io/opentelemetry/contrib/**")
85+
}
7986
}
8087

8188
withType<Javadoc>().configureEach {

0 commit comments

Comments
 (0)