From c3e3668aeb0983487bbf3d8174ebd4bc4ae1dcf2 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 23 Oct 2023 12:57:01 +0200 Subject: [PATCH] [RN][CI] Disable unstable E2E tests --- .../configurations/test_workflows/testAndroid.yml | 2 +- .../configurations/test_workflows/testE2E.yml | 3 +-- .../configurations/test_workflows/testIOS.yml | 4 ++-- packages/react-native-bots/dangerfile.js | 2 +- scripts/circleci/pipeline_selection.js | 14 +++++++------- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.circleci/configurations/test_workflows/testAndroid.yml b/.circleci/configurations/test_workflows/testAndroid.yml index fd14ab1f26c9..fd78d2f1f52a 100644 --- a/.circleci/configurations/test_workflows/testAndroid.yml +++ b/.circleci/configurations/test_workflows/testAndroid.yml @@ -46,7 +46,7 @@ - test_android: requires: - build_android - - test_e2e_android + # - test_e2e_android - test_android_template: requires: - build_npm_package diff --git a/.circleci/configurations/test_workflows/testE2E.yml b/.circleci/configurations/test_workflows/testE2E.yml index a18277b98263..7cf8f52d6a39 100644 --- a/.circleci/configurations/test_workflows/testE2E.yml +++ b/.circleci/configurations/test_workflows/testE2E.yml @@ -7,5 +7,4 @@ jobs: - test_e2e_ios: ruby_version: "2.7.7" - # This is not stable - # - test_e2e_android + - test_e2e_android diff --git a/.circleci/configurations/test_workflows/testIOS.yml b/.circleci/configurations/test_workflows/testIOS.yml index 7e102d3a0ae7..366242415df9 100644 --- a/.circleci/configurations/test_workflows/testIOS.yml +++ b/.circleci/configurations/test_workflows/testIOS.yml @@ -43,8 +43,8 @@ - build_hermesc_linux - build_hermes_macos - build_hermesc_windows - - test_e2e_ios: - ruby_version: "2.7.7" + # - test_e2e_ios: + # ruby_version: "2.7.7" - test_ios_template: requires: - build_npm_package diff --git a/packages/react-native-bots/dangerfile.js b/packages/react-native-bots/dangerfile.js index 55994da24521..9b3f372b3533 100644 --- a/packages/react-native-bots/dangerfile.js +++ b/packages/react-native-bots/dangerfile.js @@ -182,4 +182,4 @@ async function handleStatuses() { } } -handleStatuses(); +// handleStatuses(); diff --git a/scripts/circleci/pipeline_selection.js b/scripts/circleci/pipeline_selection.js index e1cfa4b7b1d3..2059c0f04ee5 100644 --- a/scripts/circleci/pipeline_selection.js +++ b/scripts/circleci/pipeline_selection.js @@ -54,10 +54,10 @@ const mapping = [ name: 'RUN_ANDROID', filterFN: name => name.indexOf('ReactAndroid/') > -1, }, - { - name: 'RUN_E2E', - filterFN: name => name.indexOf('rn-tester-e2e/') > -1, - }, + // { + // name: 'RUN_E2E', + // filterFN: name => name.indexOf('rn-tester-e2e/') > -1, + // }, { name: 'RUN_JS', filterFN: name => isJSChange(name), @@ -154,7 +154,7 @@ async function _computeAndSavePipelineParameters(pipelineType, outputPath) { run_ios: pipelineType === 'RUN_IOS', run_android: pipelineType === 'RUN_ANDROID', run_js: pipelineType === 'RUN_JS', - run_e2e: pipelineType === 'RUN_E2E' || pipelineType === 'RUN_JS', + // run_e2e: pipelineType === 'RUN_E2E' || pipelineType === 'RUN_JS', }; const stringifiedParams = JSON.stringify(params, null, 2); @@ -180,8 +180,8 @@ function createConfigs(inputPath, outputPath, configFile) { const testConfigs = { run_ios: ['testIOS.yml'], run_android: ['testAndroid.yml'], - run_e2e: ['testE2E.yml'], - run_all: ['testE2E.yml', 'testJS.yml', 'testAll.yml'], + // run_e2e: ['testE2E.yml'], + run_all: [/*'testE2E.yml',*/ 'testJS.yml', 'testAll.yml'], run_js: ['testJS.yml'], };