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
CIS-115 Test old iOS SDKs nightly #250
Conversation
since it doesn't access network
By default, it'll retry up to 3 times to make sure the failure is actually a failure
For some reason our carthage cache is invalid, only fix is to change key
Why did you select 11.4? |
@buh Latest version of each iOS SDK makes the most sense, we can't support all versions of iOS 11 and 12. Most users will be on the latest update of major version anyway. If they're not, the solution is simple -> Please update to latest iOS 11/12 |
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 🚢
@@ -135,6 +135,25 @@ lane :test_without_building do | |||
scan(project: "StreamChat.xcodeproj", scheme: "StreamChat", test_without_building: true, only_testing: ["StreamChatClientTests"]) | |||
end | |||
|
|||
desc "Runs integrations tests with backend. These tests make network connections so they're sometimes not reliable, hence we run them up to 3 times in case of failure" | |||
lane :test_backend_integration do |options| | |||
@test_retries = 3 |
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.
👍
@b-onc I realized we don't run unit tests, only integration tests. Is that on purpose? |
That was on error, I've updated PR |
Also fix somehow broken ClientLogger test
Test run here: https://github.com/GetStream/stream-chat-swift/runs/649869791?check_suite_focus=true
We're able to test iOS 11.4 and 12.4 (in parallel!), and we're using (we have to) backend integration test. The reported iOS12 crash was related to network request part, so I thought this makes sense to have!
Oh, also moved ClientLogger tests to Unit tests target since it was a unit test.