ci: update functional-test.yml to boot simulator #286
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: | |
e2e: | |
strategy: | |
matrix: | |
include: | |
- os: macos-15 | |
xcode: '16.2' | |
ios: '18.2' | |
device: iPhone 16 | |
- os: macos-14 | |
xcode: '15.4' | |
ios: '17.5' | |
device: iPhone 15 | |
- os: macos-13 | |
xcode: '14.3.1' | |
ios: '16.4' | |
device: iPhone 14 | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
env: | |
_LOG_TIMESTAMP: 1 | |
_FORCE_LOGS: 1 | |
CI: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ${{ matrix.xcode }} | |
- run: xcrun simctl list | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
check-latest: true | |
- name: Prepare iOS simulator | |
id: prepareSimulator | |
uses: futureware-tech/simulator-action@v4 | |
with: | |
model: "${{ matrix.device }}" | |
os_version: "${{ matrix.ios }}" | |
shutdown_after_job: false | |
wait_for_boot: true | |
- run: npm install | |
- run: npm run e2e-test |