Repository navigation
build: Android host tests for skainet-backend-cpu (#1230) - #1559
Merged
michalharakal merged 1 commit intoNov 23, 2026
Merged
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
michalharakal
deleted the
feature/1230-android-host-tests-cpu-backend
branch
November 23, 2026 15:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1230.
What changes
skainet-backend-cpuaddswithHostTest {}to its Android target, so itscommonTestsources compile and run against the Android compilation as host-side JVM unit tests. Before, the module had no Android test task at all.Where the switch lives
In the module, not in the convention plugin.
skainet-io-coreandskainet-io-ggufalready enable it per module, and turning it on for every module at once would start many test suites that have never run on Android, in one step. Thetest (android)CI leg runstestAndroidHostTestrepo-wide, so this module's tests are picked up there without a workflow change.Result
./gradlew :skainet-backends:skainet-backend-cpu:testAndroidHostTest: 67 suites, 375 tests, 0 failures, 0 skipped (131 s locally, cold compile included). The 67 suites are all 67 test files incommonTest; nothing new failed.The metric suites (
sk.ainet.exec.metrics.*, 49 tests) pass, includingMetricsPlatformParityTest, which requires the sameDoublebits as on the JVM.Not covered
🤖 Generated with Claude Code