-
-
Notifications
You must be signed in to change notification settings - Fork 44
52 lines (47 loc) · 1.41 KB
/
functional-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Functional Tests
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
# https://github.com/actions/runner-images/tree/main/images/macos
strategy:
matrix:
include:
- xcodeVersion: '14.3.1'
iosVersion: '16.4'
deviceName: 'iPhone 14'
platform: macos-13
- xcodeVersion: '15.4'
iosVersion: '17.5'
deviceName: 'iPhone 15'
platform: macos-14
fail-fast: false
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: ${{ matrix.platform }}
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 }}