Skip to content

feat: Add video-stream command support #61

feat: Add video-stream command support

feat: Add video-stream command support #61

Workflow file for this run

name: Functional Tests
on: [pull_request]
jobs:
e2e:
runs-on: macos-12
env:
CI: true
PLATFORM_VERSION: '16.0'
XCODE_VERSION: '14.0'
DEVICE_NAME: iPhone 11 Pro Max
PYTHON_VERSION: '3.9'
steps:
- uses: actions/checkout@v2
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ env.XCODE_VERSION }}
- run: |
target_sim_id=$(xcrun simctl list devices available | grep "$DEVICE_NAME (" | cut -d "(" -f2 | cut -d ")" -f1)
open -Fn "$(xcode-select -p)/Applications/Simulator.app"
xcrun simctl bootstatus $target_sim_id -b
xcrun simctl shutdown $target_sim_id
name: Preboot ${{ env.DEVICE_NAME }}
- run: brew install python@${PYTHON_VERSION}
- run: |
brew tap facebook/fb
brew install idb-companion || true
/usr/local/opt/python@${PYTHON_VERSION}/bin/python${PYTHON_VERSION} -m pip install --user fb-idb
- uses: actions/setup-node@v3
with:
node-version: lts/*
check-latest: true
- run: npm install
- run: |
export PATH="${PATH}:$(/usr/local/opt/python@${PYTHON_VERSION}/bin/python${PYTHON_VERSION} -c 'import site; print(site.USER_BASE)')/bin"
_FORCE_LOGS=1 npm run e2e-test