tests: Fix tests after the recent node-simctl update #90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Functional Tests | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- xcodeVersion: 13.1 | |
deviceName: iPhone X | |
iosVersion: 15.0 | |
- xcodeVersion: 14.2 | |
deviceName: iPhone 14 | |
iosVersion: 16.2 | |
env: | |
CI: true | |
_FORCE_LOGS: 1 | |
MOBILE_OS_VERSION: ${{ matrix.iosVersion }} | |
MOBILE_DEVICE_NAME: ${{ matrix.deviceName }} | |
XCODE_VERSION: ${{ matrix.xcodeVersion }} | |
# https://github.com/actions/runner-images/tree/main/images/macos | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
check-latest: true | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: "${{ matrix.xcodeVersion }}" | |
- run: | | |
brew update | |
brew tap wix/brew | |
brew install applesimutils | |
xcrun simctl list devices available | |
name: Install Utilities | |
- run: npm install | |
name: Install dev dependencies | |
- run: npm run e2e-test | |
name: Run e2e tests on Xcode@${{ matrix.xcodeVersion }} |