diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae79402..3a7e437 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,7 +83,9 @@ jobs: key: ${{ runner.os }}-configcache-gate-${{ hashFiles('**/*.gradle.kts', 'gradle.properties', 'gradle/libs.versions.toml', 'gradle/wrapper/gradle-wrapper.properties') }} restore-keys: ${{ runner.os }}-configcache-gate- - name: ktlint, detekt, and JVM coverage floor - # koverVerify pulls in jvmTest and enforces the 80% line-coverage rule. Piped through + # koverVerify pulls in jvmTest and enforces each module's line/branch floors: kuri and + # kuri-bind at 99% line / 85% and 88% branch respectively, kuri-serde-kotlinx at 90% + # line / 80% branch (see each module's build.gradle.kts kover block). Piped through # tee/grep (pipefail is on by default for `shell: bash`, so a gradlew failure still # fails the step) to surface Gradle's own configuration-cache hit/miss line in the job # summary — otherwise confirming the cache above is doing anything means digging diff --git a/README.md b/README.md index 5187471..ecbed65 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Kotlin Kotlin Multiplatform JDK - Coverage + Coverage

## Contents @@ -592,7 +592,8 @@ Building kuri requires a JDK 21 toolchain; the bundled Gradle wrapper provisions - Kotlin `allWarningsAsErrors` - explicit-API strict mode - the binary-compatibility validator (`apiCheck`) -- an 80% Kover line-coverage floor +- per-module Kover line/branch floors: `kuri` and `kuri-bind` at 99% line / 85% and 88% branch + respectively, `kuri-serde-kotlinx` at 90% line / 80% branch After an intentional public-API change, regenerate and commit the API snapshot in the same change: