-
Notifications
You must be signed in to change notification settings - Fork 375
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 e2e on CI #1537
Fix e2e on CI #1537
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1537 +/- ##
========================================
Coverage 73.61% 73.61%
========================================
Files 277 277
Lines 7443 7443
Branches 956 662 -294
========================================
Hits 5479 5479
Misses 1852 1852
Partials 112 112
Continue to review full report at Codecov.
|
…norepo into martinvol/small_e2e_fix
…norepo into martinvol/small_e2e_fix
954aa10
to
c10929a
Compare
@@ -202,8 +202,8 @@ jobs: | |||
# echo "Cache found, just run post-script." | |||
# yarn postinstall | |||
# fi | |||
yarn | |||
yarn build | |||
yarn || yarn |
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.
Is there any chance we can figure out why the yarn
command is flaky? Retries will only get us so far and increase the time to CI reporting real failures. I understand if you don't have time now, but creating an issue with what you know and a TODO here pointing to that issue would be helpful.
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.
Oh, so are the failures because of wix/Detox#1723? if so a reference inline to this file would be good
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.
We do those retries in many places, for example here:
celo-monorepo/.circleci/config.yml
Line 93 in 8fb3ff5
yarn install || yarn install |
It is because because sometimes npm has a latency problem and the whole build fails. The retry is only executed if the jobs fails. Also the build command, as it requires network resources it's not guaranteed it's 100% deterministic.
The problems related to detox is in Run test itself
, and it has the inline reference indeed :)
d2042c1
to
228935e
Compare
228935e
to
7c0e523
Compare
…norepo into martinvol/small_e2e_fix
7c0e523
to
5137d1d
Compare
* master: (62 commits) Fix e2e on CI (#1537) Allow a specified address to disable/enable the Exchange (#1467) Avoid re-encrypting key files with yarn keys:encrypt command (#1560) Support protocol hotfixing (#613) Point e2e tests back (#1562) Refactor to Accounts.sol (#1392) Add selectIssuers Transaction (#1327) [Wallet] Get React Native Hot Reloading Working (#1551) Unify to prefix messages for signing (#1473) [Wallet] Improve error handling around account creation and keystore ops (#1497) Add CI test for checking licenses and misc package.json cleanup (#1550) [Wallet] Implement SMS invite on iOS (#1541) CI: brings back to master (#1554) Validators: uses Ethereum address for proof of possession (#1494) Validate Attestation Requests (#1468) Rename hosted node references to forno (#1511) Bump rubyzip from 1.2.3 to 1.3.0 in /packages/mobile (#1508) Added txpool family to geth apis. Sorted geth cmd options (#1462) [Wallet] Fix yarn dev command for running android (#1534) [Wallet] iOS info plist changes and version bump (#1539) ... # Conflicts: # yarn.lock
* master: (73 commits) Fix Ethstats Image reference (#1577) EU Cookies Behavior Change (#1447) [verifier] Upgrade to RN 61 (#1572) [Wallet] Update link styles and Implement VerificationEducationScreen (#1565) [wallet] Added native phone picker (#1310) [Wallet] Set up new verification screen skeletons (#1563) Bump e2e test migrate numbers where needed (#1567) [Wallet] Create new carousel component (#1555) [Wallet] Protect Backup Key and Safeguards with PIN (#1556) Increase ganache gas limit (#1569) Re-work locked gold requirements for validators and groups (#1474) Fix e2e on CI (#1537) Allow a specified address to disable/enable the Exchange (#1467) Avoid re-encrypting key files with yarn keys:encrypt command (#1560) Support protocol hotfixing (#613) Point e2e tests back (#1562) Refactor to Accounts.sol (#1392) Add selectIssuers Transaction (#1327) [Wallet] Get React Native Hot Reloading Working (#1551) Unify to prefix messages for signing (#1473) ...
Description
yarn
,yarn build
andyarn detox
.Tested
itself.
Other changes
Deleted legacy scripts related to e2e.
Related issues
Backwards compatibility