-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
test(e2e): separate android, iOS tests; add buildcache to iOS e2e #5239
Conversation
Frequently one fails but not the other and it is a tremendous waste to have to re-run both all the time
even if we don't have a full cache match, a fallback should be okay in some cases
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/invertase/react-native-firebase/3ehVVRtg5pNJN68kwZoDW88o8J8L |
Codecov Report
@@ Coverage Diff @@
## master #5239 +/- ##
=======================================
Coverage 88.86% 88.86%
=======================================
Files 109 109
Lines 3743 3743
Branches 360 360
=======================================
Hits 3326 3326
Misses 370 370
Partials 47 47 |
ef9c584
to
de4aa82
Compare
ccache somehow not being used for that many files, but sped up 10% currently going to do some local tuning and see if it can be improved as it appears it is not even attempting to use cache most of the time 🤔 - locally it was
|
de4aa82
to
b2774a4
Compare
b2774a4
to
567d596
Compare
e4bb19c
to
15b21f4
Compare
15b21f4
to
2458a80
Compare
2458a80
to
323c1a9
Compare
323c1a9
to
e0e2fe1
Compare
e0e2fe1
to
e6ba1ac
Compare
e6ba1ac
to
76a7856
Compare
76a7856
to
abb8e7e
Compare
cold cache is 20% slower, warm cache is 50% faster
abb8e7e
to
472c996
Compare
Description
Allow separate runs of the two main native platforms instead of forcing re-run of both when one flakes
Add buildcache to iOS build in an attempt to speed it up
Tried ccache but it can't handle multiple source files at once and that's just about all Xcode does these days
Tried buildcache in "direct" mode (should be way faster...) but it doesn't work because "can't open dependency file".
This is worth 50% on the iOS build step, even with the firestore-ios-sdk-framework speedup involved.
Release Summary
conventional commits
Checklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
CI passes with reasonable cache hit ratio on ccache
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on Twitter