Acceptance Tests on Public Network #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |