-
Notifications
You must be signed in to change notification settings - Fork 75
59 lines (54 loc) · 1.68 KB
/
acceptance-public.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
name: Acceptance Tests on Public Network
on:
workflow_dispatch:
inputs:
operator_id:
description: 'The Account ID of the operator'
required: true
type: string
operator_key:
description: 'The ED25519 or ECDSA DER encoded private key of the operator'
required: true
type: string
network:
description: 'The public network to run the tests against'
required: true
type: choice
options:
- mainnet
- testnet
- previewnet
jobs:
release-tests:
name: Release Tests
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: release_light
envfile: ${{ inputs.network }}Acceptance.env
operator_id: ${{ inputs.operator_id }}
maxAttempts: 1
secrets:
operator_key: ${{ inputs.operator_key }}
publish_results:
name: Publish Results
if: ${{ !cancelled() }}
needs:
- release-tests
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: Test Results
json_thousands_separator: ','
files: 'test-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}