-
Notifications
You must be signed in to change notification settings - Fork 1
134 lines (133 loc) · 4.81 KB
/
Copy pathcommon.yml
File metadata and controls
134 lines (133 loc) · 4.81 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
on:
workflow_call:
inputs:
python-version:
required: false
default: "3.14"
type: string
platform:
required: false
default: ubuntu-latest
type: string
unix_system:
required: false
default: true
type: boolean
test-command:
required: false
type: string
default: $GITHUB_WORKSPACE/.venv/bin/pytest
secrets:
SIMVUE_URL:
required: true
SIMVUE_TOKEN:
required: true
jobs:
object_retrieval:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-group: object_retrieval ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
group-label: Object Retrieval
test-command: ${{ inputs.test-command }}
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
object_removal:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-group: object_removal ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
group-label: Object Removal
test-command: ${{ inputs.test-command }}
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
dispatch_tests:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-group: dispatch ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
test-command: ${{ inputs.test-command }}
group-label: Dispatch
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
run_tests_online:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-group: online and not api ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
group-label: Run Tests (Online)
test-command: ${{ inputs.test-command }}
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
run_tests_offline:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-group: (offline and not api ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}) or cli
test-command: ${{ inputs.test-command }}
group-label: Run Tests (Offline)
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
config_tests:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-group: config ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
test-command: ${{ inputs.test-command }}
group-label: Configuration
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
scenario_tests:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-command: ${{ inputs.test-command }}
test-group: scenario and not run
group-label: Scenarios ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
executor_tests:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-command: ${{ inputs.test-command }}
test-group: executor ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
group-label: Executor
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
api_tests:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-command: ${{ inputs.test-command }}
test-group: api ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
group-label: Low Level API
secrets:
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
local_tests:
uses: ./.github/workflows/test_group.yml
with:
python-version: ${{ inputs.python-version }}
platform: ${{ inputs.platform }}
test-command: ${{ inputs.test-command }}
test-group: local ${{ startsWith(inputs.platform, 'windows') && 'and not unix' || '' }}
group-label: Local
secrets: inherit