Disabled flow in e2e test because it causes memory crashes
Summary: Closes https://github.com/facebook/react-native/pull/7620 Differential Revision: D3322029 fbshipit-source-id: e0406770d011956af6b47d15c5b49a68b1b611f5
This commit is contained in:
parent
8a201b842a
commit
6a34c9c3da
|
@ -48,9 +48,9 @@ test:
|
|||
|
||||
override:
|
||||
# eslint bot
|
||||
- cat <(echo eslint; npm run lint --silent -- --format=json; echo flow; npm run flow --silent -- check --json) | GITHUB_TOKEN="af6ef0d15709bc91d""06a6217a5a826a226fb57b7" CI_USER=$CIRCLE_PROJECT_USERNAME CI_REPO=$CIRCLE_PROJECT_REPONAME PULL_REQUEST_NUMBER=$CIRCLE_PR_NUMBER node bots/code-analysis-bot.js
|
||||
# - cat <(echo eslint; npm run lint --silent -- --format=json; echo flow; npm run flow --silent -- check --json) | GITHUB_TOKEN="af6ef0d15709bc91d""06a6217a5a826a226fb57b7" CI_USER=$CIRCLE_PROJECT_USERNAME CI_REPO=$CIRCLE_PROJECT_REPONAME PULL_REQUEST_NUMBER=$CIRCLE_PR_NUMBER node bots/code-analysis-bot.js
|
||||
# JS tests for dependencies installed with npm3
|
||||
- npm run flow check
|
||||
# - npm run flow check
|
||||
- npm test -- --maxWorkers=1
|
||||
|
||||
# build app
|
||||
|
|
|
@ -195,11 +195,12 @@ try {
|
|||
exitCode = 1;
|
||||
throw Error(exitCode);
|
||||
}
|
||||
if (exec(`${ROOT}/node_modules/.bin/flow check`).code) {
|
||||
echo('Flow check does not pass');
|
||||
exitCode = 1;
|
||||
throw Error(exitCode);
|
||||
}
|
||||
// TODO disabled while flow 0.25.0 is crashing
|
||||
// if (exec(`${ROOT}/node_modules/.bin/flow check`).code) {
|
||||
// echo('Flow check does not pass');
|
||||
// exitCode = 1;
|
||||
// throw Error(exitCode);
|
||||
// }
|
||||
}
|
||||
exitCode = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue