Skip to content

Commit

Permalink
ci: Ensure Appium port is available
Browse files Browse the repository at this point in the history
Mitigate sporadic Appium server start failures from an occupied port.
  • Loading branch information
dcalhoun committed Dec 10, 2024
1 parent 6ea0a6f commit aedfcd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rnmobile-ios-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ jobs:
- name: Build Web Driver Agent (if needed)
run: test -d packages/react-native-editor/ios/build/WDA || npm run native test:e2e:build-wda

- name: Ensure Appium port is available
run: |
lsof -ti:4723 | xargs kill -9 || true
- name: Run iOS Device Tests
run: TEST_RN_PLATFORM=ios npm run native device-tests:local ${{ matrix.native-test-name }}

Expand Down

0 comments on commit aedfcd2

Please sign in to comment.