Skip to content

Acceptance Tests on Public Network #53

Acceptance Tests on Public Network

Acceptance Tests on Public Network #53

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 }}
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: actionite/publish-unit-test-result-action@1e01e49081c6c4073913aa4b7980fa83e709f322 # v2.3.0
with:
check_name: Test Results
json_thousands_separator: ','
junit_files: 'test-*.xml'