Skip to content

ci: use macos14 for functional test #551

ci: use macos14 for functional test

ci: use macos14 for functional test #551

Workflow file for this run

name: Functional Tests
on: [pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
test_targets:
- XCODE_VERSION: 15.3
IOS_VERSION: 17.4
IOS_MODEL: iPhone 15 Plus
- XCODE_VERSION: 14.3.1
IOS_VERSION: 16.4
IOS_MODEL: iPhone 14 Plus
env:
CI: true
_FORCE_LOGS: 1
XCODE_VERSION: 15.3
DEVICE_NAME: iPhone 15 Plus
PLATFORM_VERSION: 17.4
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version:${{matrix.test_targets.XCODE_VERSION}}
- run: |
npm install
mkdir -p ./Resources/WebDriverAgent.bundle
name: Install dev dependencies
- uses: futureware-tech/simulator-action@v3
with:
model: ${{matrix.test_targets.IOS_MODEL}}
os: iOS
os_version: ${{matrix.test_targets.IOS_VERSION}}
erase_before_boot: true
# to prevent unexpected shutdown failure error
shutdown_after_job: false
name: Preboot Simulator
- run: npm run e2e-test
name: Run functional tests