-
Notifications
You must be signed in to change notification settings - Fork 75
215 lines (195 loc) · 5.97 KB
/
manual-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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
name: Manual Testing
on:
workflow_dispatch:
inputs:
networkNodeTag:
description: 'Specify desired Network Node image tag'
required: true
default: ''
mirrorNodeTag:
description: 'Specify desired Mirror-Node image tag'
required: true
default: ''
run-name: Manual Test with N:${{ inputs.networkNodeTag }} and M:${{ inputs.mirrorNodeTag }}
permissions:
contents: write
checks: write
pull-requests: write
actions: read
jobs:
api_batch_1:
name: API Batch 1
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: api_batch1
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
api_batch_2:
name: API Batch 2
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: api_batch2
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
api_batch_3:
name: API Batch 3
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: api_batch3
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
erc20:
name: ERC20
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: erc20
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
ratelimiter:
name: Rate Limiter
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: ratelimiter
test_ws_server: true
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
hbarlimiter:
name: HBar Limiter
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: hbarlimiter
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
tokencreate:
name: Token Create
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: tokencreate
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
tokenmanagement:
name: Token Management
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: tokenmanagement
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
htsprecompilev1:
name: Precompile
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: htsprecompilev1
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
precompilecalls:
name: Precompile Calls
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: precompile-calls
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
websocket-batch-1:
name: Websocket Batch 1
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: ws_batch1
test_ws_server: true
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
websocket-batch-2:
name: Websocket Batch 2
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: ws_batch2
test_ws_server: true
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
websocket-batch-3:
name: Websocket Batch 3
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: ws_batch3
test_ws_server: true
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
cacheservice:
name: Cache Service
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: cache-service
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
server-config:
name: Server Config
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: serverconfig
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
publish_results:
name: Publish Results
if: ${{ !cancelled() }}
needs:
- api_batch_1
- api_batch_2
- api_batch_3
- erc20
- ratelimiter
- hbarlimiter
- tokencreate
- tokenmanagement
- htsprecompilev1
- precompilecalls
- websocket-batch-1
- websocket-batch-2
- websocket-batch-3
- cacheservice
runs-on: smart-contracts-linux-medium
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Download Test Reports
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
pattern: Test Results (*)
merge-multiple: true
- name: Publish Test Report
uses: step-security/publish-unit-test-result-action@4519d7c9f71dd765f8bbb98626268780f23bab28 # v2.17.0
with:
# check_name: Acceptance Tests
check_name: '' # Set to empty to disable check run
json_thousands_separator: ','
files: 'test-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}