-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Trying to get CI to work #2085
Trying to get CI to work #2085
Conversation
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.
A few nit comments but lgtm overall. Doesn't seem like there are breaking changes to how the framework works.
@@ -47,10 +47,11 @@ - (void)tearDown | |||
} | |||
|
|||
// NOTE: Despite the documentation, this is not always called if an exception is caught. | |||
- (void)recordFailureWithDescription:(NSString *)description inFile:(NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected | |||
// NOTE: Despite the documentation, this is not always called if an exception is caught. |
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.
nit: duplicated comment
// We would end up with EXC_BAD_ACCESS crashes or the following exception: | ||
// UIView is missing its initial trait collection populated during initialization. This is a serious bug, likely caused by accessing properties or methods on the view before calling a UIView initializer | ||
// These tests are being silenced so that the other tests can run properly. | ||
//[self _testSupplementaryNodeAtIndexPath:[NSIndexPath indexPathForItem:0 inSection:3] sectionCount:2 expectException:YES]; |
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.
Should we just silence this test? instead of making it empty
* 'master' of https://github.com/TextureGroup/Texture: Fix build errors and a crash in xcode 15 (TextureGroup#2093) [ASCellNodeVisibilityEvent] Add a new event when scrolling stops (TextureGroup#2084) Trying to get CI to work (TextureGroup#2085) fix typo: ASStackLayoutElement.h (TextureGroup#2067) Docs: Fix references of ASViewController/ASNavigationController (non-existent) to ASDKViewController/ASDKNavigationController (TextureGroup#2072) [ASTextKitRenderer] Adding locking when accessing the text renderer cache (TextureGroup#2075) Switch UITextWritingDirection to NSWritingDirection (TextureGroup#2071)
* Try to get CI to work * update to xcode that exists * Use a more recent sim; update podfiles not to use github as source * fix clang 10 error about 10 being extern * don’t override deprecated method * Fix tests and snapshot tests
CI was failing for several reasons. Here are the updates I've made to get it passing:
latest
instead of a version that github no longer has runners forsource
in all Podfiles so we aren't hitting github for the cocoapods spec. This makes the tests run much faster.gnu_inline
is alwaysextern
. I made our by marking our inline methodsextern
recordFailureWithDescription:inFile:atLine:expected:
. I changed it to overriderecordIssue: