Skip to content

ci: run native Android and iOS tests - #134

Merged
originalix merged 10 commits into
mainfrom
codex/native-tests-ci
Sep 25, 2026
Merged

originalix merged 10 commits into
mainfrom
codex/native-tests-ci

Conversation

@huhuanming

@huhuanming huhuanming commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add PR and main-push native test gates: seven Android Gradle unit-test suites, bundle-update Kotlin CLI policy tests, three SwiftPM suites, and four CocoaPods XCTest suites on an iOS Simulator.
  • Reject empty test runs using Android JUnit XML, SwiftPM output, Kotlin assertion count, and iOS xcresult summaries. Upload reports and logs on failure.
  • Connect the example app to the existing NativeSheet workspace package and four pod test specs. Stabilize existing Android and iOS test harness assumptions without changing their behavioral assertions.
  • Fix the iOS Image round = nil reset behavior to retain the last committed shape during Fabric prop reset, matching the existing regression test and the updated Image SPEC. An explicit false still clears the mask.

Validation

  • Local: Android Gradle 221 tests across seven packages; Kotlin CLI 58 assertions; SwiftPM 23 + 8 + 43 tests. CocoaPods generated all four XCTest schemes; Image build-for-testing passed on Xcode 27. actionlint, immutable Yarn install, and git diff --check passed.
  • Hosted at 86bd9877: Android, Kotlin CLI, SwiftPM, test-integrity, and all four iOS Simulator XCTest checks passed. On Xcode 26.6 / iPhone 17 Pro / iOS 26.5: NativeSheet 1/1, pager-view 2/2, OneKeyTextInput 2/2, OneKeyImage 49/49; total 54 iOS XCTest cases with zero failures.
  • Hosted iOS job took about 11m33s. Runner data-volume free space was 95 GiB before dependency installation and 89 GiB after all four XCTest suites; no disk-pressure failure was observed.

These checks cover unit and simulator XCTest behavior; device and end-to-end acceptance remain separate.

@huhuanming
huhuanming marked this pull request as ready for review September 24, 2026 13:12
@originalix
originalix merged commit 1e18095 into main Sep 25, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants