-
Notifications
You must be signed in to change notification settings - Fork 1
110 lines (103 loc) · 3.48 KB
/
sherlo_testing.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
name: 'Sherlo Testing'
on:
workflow_dispatch:
inputs:
env:
description: 'Environment (dev, test, prod)'
required: true
default: 'dev'
type: string
use_github_action:
description: 'Use Sherlo Github Action'
required: false
default: false
type: boolean
device_testing:
description: 'Test: All Devices'
required: false
default: false
type: boolean
many_stories:
description: 'Test: Many Stories'
required: false
default: false
type: boolean
expo_local_builds:
description: 'Test: local-builds (Expo)'
required: false
default: false
type: boolean
expo_cloud:
description: 'Test: expo-cloud-builds'
required: false
default: false
type: boolean
expo_update_with_builds:
description: 'Test: expo-update (with builds)'
required: false
default: false
type: boolean
expo_update:
description: 'Test: expo-update'
required: false
default: false
type: boolean
jobs:
device_testing:
uses: ./.github/workflows/expo-update.yml
if: ${{ github.event.inputs.device_testing == 'true' && always() && !failure() && !cancelled() }}
name: Device Testing
secrets: inherit
with:
env: ${{ github.event.inputs.env }}
config: 'all-devices'
project: 'device-testing'
with_builds: true
use_github_action: ${{ github.event.inputs.use_github_action == 'true' }}
many_stories:
uses: ./.github/workflows/expo-update.yml
if: ${{ github.event.inputs.many_stories == 'true' && always() && !failure() && !cancelled() }}
name: Many Stories
secrets: inherit
with:
env: ${{ github.event.inputs.env }}
config: 'many-stories'
with_builds: true
project: 'many-stories'
use_github_action: ${{ github.event.inputs.use_github_action == 'true' }}
expo_local_builds:
uses: ./.github/workflows/expo_local-builds.yml
if: ${{ github.event.inputs.expo_local_builds == 'true' && always() && !failure() && !cancelled() }}
name: local-builds (Expo)
secrets: inherit
with:
env: ${{ github.event.inputs.env }}
use_github_action: ${{ github.event.inputs.use_github_action == 'true' }}
expo_cloud:
uses: ./.github/workflows/expo-cloud.yml
if: ${{ github.event.inputs.expo_cloud == 'true' && always() && !failure() && !cancelled() }}
name: expo-cloud-builds
secrets: inherit
with:
env: ${{ github.event.inputs.env }}
use_github_action: ${{ github.event.inputs.use_github_action == 'true' }}
expo_update_with_builds:
uses: ./.github/workflows/expo-update.yml
if: ${{ github.event.inputs.expo_update_with_builds == 'true' && always() && !failure() && !cancelled() }}
name: expo-update (with native builds)
secrets: inherit
with:
env: ${{ github.event.inputs.env }}
use_github_action: ${{ github.event.inputs.use_github_action == 'true' }}
with_builds: true
project: 'expo-update'
expo_update:
uses: ./.github/workflows/expo-update.yml
if: ${{ github.event.inputs.expo_update == 'true' && always() && !failure() && !cancelled() }}
name: expo-update (without native builds)
secrets: inherit
with:
env: ${{ github.event.inputs.env }}
use_github_action: ${{ github.event.inputs.use_github_action == 'true' }}
with_builds: false
project: 'expo-update'