-
Notifications
You must be signed in to change notification settings - Fork 211
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
Fix CI not running tests below iOS 14 #919
Conversation
Codecov Report
@@ Coverage Diff @@
## main #919 +/- ##
==========================================
+ Coverage 89.17% 89.36% +0.18%
==========================================
Files 201 201
Lines 8271 8271
==========================================
+ Hits 7376 7391 +15
+ Misses 895 880 -15
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
3729695
to
b82af52
Compare
cb03b92
to
7b897d7
Compare
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 is cool 👍 🎉 Thank you
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.
🎉
In This PR
The tests were not running below < iOS 14. It would fall back to the default device 🤦♂️
Issues found:
options[:device]
parameter on the lanes. Even if the prepare-simulator-action was working, the stress tests were always running on the default device.The script needs to have a condition because of how the Xcode path is different on 10.3 vs >10.3
More details here: actions/runner-images#551 (comment)
Now I finally got why the iOS 12 coverage was the same as the iOS 14 😄
It probably would be a good idea to open source this action actually 🤔 It took a lot of time to make it work properly for every case.