Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/react_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,14 +275,26 @@ jobs:
ORT_C_LOCAL_POD_PATH=${{ runner.temp }}/ios_pod/onnxruntime-c pod install --verbose
working-directory: ${{ github.workspace }}/js/react_native/e2e/ios

- name: Build and Run Detox iOS e2e Tests
- name: Build Detox iOS e2e Tests
run: detox build --configuration ios.sim.release
working-directory: ${{ github.workspace }}/js/react_native/e2e

- name: Reset iOS Simulators before Detox
run: |
set -e -x
xcrun simctl shutdown all || true
xcrun simctl erase all || true
killall Simulator || true
killall com.apple.CoreSimulator.CoreSimulatorService || true

- name: Run Detox iOS e2e Tests
run: |
detox build --configuration ios.sim.release
JEST_JUNIT_OUTPUT_FILE=${{ github.workspace }}/js/react_native/e2e/ios-test-results.xml \
detox test --record-logs all \
--configuration ios.sim.release \
--loglevel verbose \
--take-screenshots failing
--take-screenshots failing \
--cleanup
working-directory: ${{ github.workspace }}/js/react_native/e2e

- name: Upload iOS Test Results
Expand Down
Loading