Skip to content

Commit

Permalink
fix: investigate ios test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Cipolleschi committed Aug 2, 2022
1 parent a53512f commit f6c2a6c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,16 @@ jobs:
- run:
name: "Run Tests: iOS Unit and Integration Tests"
command: yarn test-ios
- run:
name: Zip Derived data folder
when: always
command: |
echo "zipping tests results"
cd /Users/distiller/Library/Developer/Xcode
XCRESULT_PATH=$(find . -name '*.xcresult')
tar -zcvf xcresults.tar.gz $XCRESULT_PATH
- store_artifacts:
path: /Users/distiller/Library/Developer/Xcode/xcresults.tar.gz

# Optionally, run disabled tests
- when:
Expand All @@ -561,6 +571,7 @@ jobs:
- store_test_results:
path: ./reports/junit


# -------------------------
# JOBS: Test Android
# -------------------------
Expand Down Expand Up @@ -924,6 +935,7 @@ jobs:
HERMES_TAG_SHA=$(git ls-remote https://github.com/facebook/hermes main | cut -f 1 | tr -d '[:space:]')
echo $HERMES_TAG_SHA > /tmp/hermes/hermesversion
fi
cat /tmp/hermes/hermesversion
- restore_cache:
key: *hermes_cache_key
- run:
Expand All @@ -932,6 +944,8 @@ jobs:
node scripts/hermes/prepare-hermes-for-build $CIRCLE_PULL_REQUEST
cp sdks/download/* $HERMES_WS_DIR/download/.
cp -r sdks/hermes/* $HERMES_WS_DIR/hermes/.
cat /tmp/hermes/hermesversion
- save_cache:
key: *hermes_cache_key
paths:
Expand Down
2 changes: 1 addition & 1 deletion scripts/.tests.env
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export ANDROID_DISABLE_AVD_TESTS=1

## IOS ##
export IOS_TARGET_OS="latest"
export IOS_DEVICE="iPhone 8"
export IOS_DEVICE="iPhone 13"
export SDK_IOS="iphonesimulator"

## CI OVERRIDES ##
Expand Down

0 comments on commit f6c2a6c

Please sign in to comment.