Skip to content
HDCharts

CI Test Matrix

Each pull-request test job checks the same merge commit prepared by Prepare PR. The jobs run only when the pull request changes code or build files. Workflow: test.yml

CI jobGradle entry taskTests includedRuns on
JVM Tests./gradlew ciTestJvmjvmTest for every chart library module.ubuntu-latest, Zulu JDK 17.
Android Tests./gradlew ciTestAndroidAndroid screenshot validation, plus connectedAndroidTest for every chart library module except charts-core.ubuntu-latest; API 35 google_apis x86_64 Nexus 6 emulator with KVM.
Wasm Tests./gradlew ciTestWebwasmJsTest for every chart library module.ubuntu-latest, Kotlin/Wasm browser tests.
iOS Tests./gradlew ciTestIosiosSimulatorArm64Test for every chart library module.macos-26, ARM64 iOS Simulator.

The ciTest* tasks are CI entry points. They delegate to the platform-specific chartsTest* tasks in the root build.

Local Validation Selection

Use the smallest applicable command:

ScopeCommand
One chart module./gradlew :charts-<module>:jvmTest
Cross-module or charts-core./gradlew chartsTestJvm
Kotlin or build logic./gradlew ktlintCheck
Compile gate./gradlew ciCompile
Repository checks./gradlew chartsCheck
Public API compatibility./gradlew apiCompatibilityCheck
Compose or screenshots./gradlew :androidApp:validateDebugScreenshotTest
Intentional screenshot updates./gradlew updateScreenshots

CI owns chartsTestAndroid, chartsTestWasm, chartsTestIos, and validateDocsGifBaselines unless explicitly requested locally.