-
-
Notifications
You must be signed in to change notification settings - Fork 372
ci: Remove caching for UI tests #2210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The UI tests were using caches that stopped the UI tests from recompiling when there were changes in the library code. Instead, we need to recompile the test sample apps with their UI tests when there are changes in the library code to be able to catch bugs. This is fixed now by removing the cache.
| scheme: "iOS-Swift", | ||
| derived_data_path: "DerivedData", | ||
| skip_archive: true, | ||
| skip_codesigning: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to undo the fix from my PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh it was still a draft PR 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm just playing araound.
Performance metrics 🚀
|
This reverts commit 22b13b7.
…remove-cache-for-ui-tests
brustolin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
So we can't make automatic signing work at all? :( |
The UI tests were using caches that stopped the UI tests from recompiling when there were changes in the library code. Instead, we need to recompile the test sample apps with their UI tests when there are changes in the library code to be able to catch bugs. This is fixed now by removing the cache.
Furthermore, @kevinrenskers opened a PR #2184 to enable automatic code signing for development of the iOS-Swift sample app. CI was green, and we merged it. Without caching we would have caught this error.
#skip-changelog