Has anyone got any strategies for a highly modular...
# kotlin-native
c
Has anyone got any strategies for a highly modularized KMP project, and running native tests (specifically on the iOS Simulator)? We're finding that having to run
linkDebugTestIosSimulatorArm64
on every module with a test just takes forever. We're very close to stopping running iOS tests on our CI runs and running it nightly.
h
If your modules as a whole are changing infrequently there are some clever caching strategies to use the mostly/entirely skip build the native code. Also have to ask if your sure this is where the slowdown is? (There were some severe sim test speed regressions in Xcode 15)
i
We’re running into a similar issue with our multi module CMP project, we run with
iosSimulatorArm64Test
and our CI build for iOS tests take too long 40+ mins Did you found a solution for this, or did you scrap running iOS tests CI?
c
We're now using an affected module detector, to only run tests on 'affected' modules. It doesn't help in the extreme case, but for most PRs it will cut down CI time.
👍 1