-
Notifications
You must be signed in to change notification settings - Fork 41
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
Use GitHub Actions for CI builds #80
Conversation
a3c4dbb
to
a2c72ce
Compare
Alright, this should be good now. Apologies for the noise. The PR will still be marked as having missing checks, since it expects a Travis build. When I go to merge this, I'll switch the required checks over to GitHub Actions instead. |
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.
I think this PR will require a major version bump, since as-is it This PR makes it too easy for us to accidentally drop support for Xcode 9.
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.
🙌
c1d8adc
to
0313360
Compare
Since #82 bumps the minimum supported Xcode version to 11, I think we can go ahead and drop the Travis config, since we don't need to build on Xcode 9 now. |
So, interestingly, the flaky test isn't coming from the expectation timeout inside the test, but rather from the expectation timeout in
I'll revert the commit to bump the timeout in the test and investigate why clearing the log store is taking so long. |
Seeing the same failure in the Travis build on a different PR, so I don't think it's related to GitHub Actions. |
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 with some comments/questions
@@ -246,7 +246,7 @@ - (void)test_distributeAllPendingLogsWithCompletionHandler_informsLogObserversOf | |||
|
|||
#pragma mark - Performance Tests | |||
|
|||
- (void)test_logDistribution_performance; | |||
- (void)disabled_test_logDistribution_performance; |
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.
Can we leave a comment here explaining why this is disabled? Maybe include in the comment what the failure we're seeing is?
Also: is this failure only on Github Workflow? Or also on Travis?
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.
I haven't seen it on Travis in this PR, but I saw it in the Travis build on #82. I think it must be related to the Xcode version, although I haven't been able to repro locally, so there's likely other factors involved as well.
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.
Addressed in e085b05
AardvarkSample/AardvarkSample.xcodeproj/xcshareddata/xcschemes/AardvarkSample.xcscheme
Show resolved
Hide resolved
@@ -1,10 +0,0 @@ | |||
language: objective-c | |||
osx_image: xcode9 |
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.
Approving this dropping of Xcode 9 CI since it looks like we're dropping support in #82.
jobs: | ||
xcode-build: | ||
name: Xcode Build | ||
runs-on: macOS-latest |
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.
oooooh can we drop this version back to use something a little earlier than the latest?
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.
Unfortunately they don't have anything older than 10.15. 😞 Our options are 10.15 (latest released) or 11.0 (in beta).
e085b05
to
05354fe
Compare
This moves us from Travis CI to GitHub actions, and parallelizes our builds a bit more, which should speed up CI times.
I also bumped to the latest (non-beta) release of CocoaPods, since we were a bit behind.