Repository navigation
Expand file tree
/
Copy pathios.yml
More file actions
50 lines (47 loc) · 1.61 KB
/
Copy pathios.yml
File metadata and controls
50 lines (47 loc) · 1.61 KB
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
name: Maestro E2E (iOS)
on:
pull_request: {}
jobs:
build_ios:
type: build
params:
platform: ios
profile: preview
e2e_ios:
needs: [build_ios]
runs_on: linux-medium
# See examples/android.yml for the notes on secrets and the reserved
# EAS_BUILD_* namespace.
env:
TB_EAS_BUILD_ID: ${{ needs.build_ios.outputs.build_id }}
TB_EAS_PLATFORM: ios
TB_CHECK_NAME: iOS
TB_EAS_PROFILE: preview
TB_EAS_APP_VERSION: ${{ needs.build_ios.outputs.app_version }}
TB_GH_SHA: ${{ github.sha }}
TB_GH_BRANCH: ${{ github.ref_name }}
TB_GH_REPO_NAME: ${{ github.repository }}
outputs:
console_url: ${{ steps.testingbot.outputs.console_url }}
app_id: ${{ steps.testingbot.outputs.app_id }}
run_status: ${{ steps.testingbot.outputs.run_status }}
summary: ${{ steps.testingbot.outputs.summary }}
failed_flows_count: ${{ steps.testingbot.outputs.failed_flows_count }}
steps:
- uses: eas/checkout
- uses: eas/download_build
id: download
with:
build_id: ${{ needs.build_ios.outputs.build_id }}
- name: Run Maestro flows on TestingBot
id: testingbot
# An .ipa runs on a real device (--real-device is implied for .ipa
# files). Use a simulator build (.app/.zip) to run on simulators.
run: |
npx --yes @testingbot/eas-workflow@v1 \
--app-file ${{ steps.download.outputs.artifact_path }} \
--flows ./.maestro \
--device "iPhone 16" \
--deviceVersion "18.0" \
--real-device \
--shard-split 1