mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Remove test_windows from CircleCI (#43090)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43090 I'm removing test_windows from CircleCI as the job is often flaky for various reasons. The cost of maintainaining it is so high at the moment, and it brings little to no value to our developers. We'll re-evaluate what to do with it once we move to GHA. Changelog: [Internal] [Changed] - Remove test_windows from CircleCI Reviewed By: cipolleschi Differential Revision: D53918601 fbshipit-source-id: b76c92f1eb3d2302595773dff9f8bbc292c0bfcf
This commit is contained in:
parent
3a1e769573
commit
89d331209a
@ -590,71 +590,6 @@ jobs:
|
||||
steps:
|
||||
- run_ios_tests
|
||||
|
||||
# -------------------------
|
||||
# JOBS: Windows
|
||||
# -------------------------
|
||||
test_windows:
|
||||
executor:
|
||||
name: win/default
|
||||
environment:
|
||||
- CHOCO_CACHE_DIR: "C:\\ChocoCache"
|
||||
steps:
|
||||
- checkout_code_with_cache
|
||||
|
||||
- restore_cache:
|
||||
keys:
|
||||
- *windows_choco_cache_key
|
||||
|
||||
- run:
|
||||
name: Choco cache
|
||||
# Cache our dependencies which can be flakey to download
|
||||
command: |
|
||||
if (!Test-Path $env:CHOCO_CACHE_DIR) {
|
||||
mkdir $env:CHOCO_CACHE_DIR
|
||||
}
|
||||
choco config set --name cacheLocation --value $env:CHOCO_CACHE_DIR
|
||||
|
||||
- run:
|
||||
name: Disable NVM
|
||||
# Use choco to manage node versions due to https://github.com/npm/cli/issues/4234
|
||||
command: nvm off
|
||||
|
||||
- run:
|
||||
name: Install Node JS
|
||||
# Note: Version set separately for non-Windows builds, see above.
|
||||
command: choco install nodejs --version=18.18.0 --allow-downgrade -y
|
||||
|
||||
# Setup Dependencies
|
||||
- run:
|
||||
name: Enable Yarn with corepack
|
||||
command: corepack enable
|
||||
|
||||
- restore_cache:
|
||||
keys:
|
||||
- *windows_yarn_cache_key
|
||||
- run:
|
||||
name: "Yarn: Install Dependencies"
|
||||
command: yarn install --frozen-lockfile --non-interactive
|
||||
|
||||
- save_cache:
|
||||
key: *windows_yarn_cache_key
|
||||
paths:
|
||||
- C:\Users\circleci\AppData\Local\Yarn
|
||||
|
||||
- save_cache:
|
||||
key: *windows_choco_cache_key
|
||||
paths:
|
||||
- $env:CHOCO_CACHE_DIR
|
||||
|
||||
# -------------------------
|
||||
# Run Tests
|
||||
- run:
|
||||
name: "Flow Check"
|
||||
command: yarn flow-check
|
||||
- run:
|
||||
name: "Run Tests: JavaScript Tests"
|
||||
command: yarn test
|
||||
|
||||
# -------------------------
|
||||
# JOBS: Build Hermes
|
||||
# -------------------------
|
||||
|
@ -9,4 +9,3 @@
|
||||
- test_js:
|
||||
name: test_js_prev_lts
|
||||
executor: nodeprevlts
|
||||
- test_windows
|
||||
|
@ -98,11 +98,6 @@ references:
|
||||
template_cocoapods_cache_key: &template_cocoapods_cache_key v6-cocoapods-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/iOSTemplateProject/ios/Podfile.lock" }}-{{ checksum "/tmp/iOSTemplateProject/ios/Podfile" }}-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "packages/rn-tester/Podfile.lock" }}
|
||||
template_podfile_lock_cache_key: &template_podfile_lock_cache_key v6-podfilelock-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/iOSTemplateProject/ios/Podfile" }}-{{ checksum "/tmp/week_year" }}-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "packages/rn-tester/Podfile.lock" }}
|
||||
|
||||
# Windows
|
||||
windows_yarn_cache_key: &windows_yarn_cache_key v1-win-yarn-cache-{{ arch }}-{{ checksum "yarn.lock" }}
|
||||
windows_choco_cache_key: &windows_choco_cache_key v1-win-choco-cache-{{ .Environment.CIRCLE_JOB }}
|
||||
|
||||
|
||||
cache_paths:
|
||||
hermes_workspace_macos_cache_paths: &hermes_workspace_macos_cache_paths
|
||||
- ~/react-native/packages/react-native/sdks/hermes/build_macosx
|
||||
|
Loading…
Reference in New Issue
Block a user