ci: faster, stricter CI (instrumented gate, parallel jobs, test forks) (#1348)

This commit is contained in:
m57
2026-09-28 00:20:52 +03:00
committed by GitHub
parent 2a41a8a417
commit d81fc39f25
6 changed files with 58 additions and 19 deletions
+8 -1
View File
@@ -309,6 +309,13 @@ tasks.named("check") {
dependsOn("checkColorLiterals")
}
tasks.withType<Test> {
val includeBenchmarks = providers.gradleProperty("includeBenchmarks").isPresent
tasks.withType<Test>().configureEach {
useJUnitPlatform()
maxParallelForks = 2
// Assertion-free timing probes are opt-in: ./gradlew testDebugUnitTest -PincludeBenchmarks
if (!includeBenchmarks) {
filter { excludeTestsMatching("*Benchmark") }
}
}