Skip to content
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

Merged
merged 7 commits into from May 7, 2020
Merged

CIS-115 Test old iOS SDKs nightly #250

merged 7 commits into from May 7, 2020

Conversation

b-onc
Copy link
Contributor

@b-onc b-onc commented May 6, 2020

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.

Bahadir Oncel added 6 commits May 6, 2020 14:20
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
@b-onc b-onc added 🙏 Feature Request A new feature request 🏠 Meta A PR that updates repo or project information labels May 6, 2020
@b-onc b-onc requested review from buh and VojtaStavik May 6, 2020 15:15
@b-onc b-onc changed the title Test old iOS SDKs nightly CIS-115 Test old iOS SDKs nightly May 6, 2020
@b-onc b-onc mentioned this pull request May 6, 2020
@buh
Copy link
Contributor

buh commented May 6, 2020

Why did you select 11.4?
For example, our encoder/decoder has an issue with iOS under 11.2. ISO8601DateFormatter has .withFractionalSeconds only from 11.2+.

@b-onc
Copy link
Contributor Author

b-onc commented May 6, 2020

@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

Copy link
Contributor

@VojtaStavik VojtaStavik left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@VojtaStavik
Copy link
Contributor

@b-onc I realized we don't run unit tests, only integration tests. Is that on purpose?

@b-onc
Copy link
Contributor Author

b-onc commented May 7, 2020

@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
@b-onc b-onc merged commit 3ebd9bb into master May 7, 2020
@delete-merged-branch delete-merged-branch bot deleted the test-integrations branch May 7, 2020 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏 Feature Request A new feature request 🏠 Meta A PR that updates repo or project information
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants