1 parent da5adb6 commit 401ab01Copy full SHA for 401ab01
1 file changed
.github/workflows/e2e_test.yml
@@ -2,6 +2,15 @@ name: E2E Tests
2
3
on:
4
workflow_dispatch:
5
+ inputs:
6
+ android:
7
+ description: "Run Android e2e tests"
8
+ type: boolean
9
+ default: true
10
+ ios:
11
+ description: "Run iOS e2e tests"
12
13
14
pull_request:
15
16
permissions:
@@ -18,6 +27,8 @@ env:
18
27
19
28
jobs:
20
29
android:
30
+ # Always on pull_request; opt-out via the checkbox on workflow_dispatch.
31
+ if: github.event_name != 'workflow_dispatch' || inputs.android
21
32
runs-on: ubuntu-latest
22
33
timeout-minutes: 40
23
34
env:
@@ -80,6 +91,8 @@ jobs:
80
91
sample_app/build/e2e-test.log
81
92
82
93
ios:
94
+ # Only on workflow_dispatch, when the checkbox is ticked.
95
+ if: github.event_name == 'workflow_dispatch' && inputs.ios
83
96
runs-on: macos-15
84
97
85
98
0 commit comments