-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: 'Run Dash Platform Test Suite' | ||
description: 'Runs end-to-end and functional testing against a Dash network' | ||
inputs: | ||
faucet-private-key: | ||
description: Faucet private key | ||
dpns-contract-id: | ||
description: DPNS contract ID | ||
dpns-top-level-identity-id: | ||
description: DPNS top level identity ID | ||
dpns-top-level-identity-private-key: | ||
description: DPNS top level identity private key | ||
sdk-install: | ||
description: SDK install | ||
version: | ||
description: Platform Test Suite version | ||
default: latest | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Run platform test suite | ||
shell: bash | ||
run: | | ||
docker run --network=host dashpay/platform-test-suite:${{ inputs.version }} 127.0.0.1:3000:3010 \ | ||
--scope=platform \ | ||
--network=regtest \ | ||
--npm-install=${{ inputs.sdk-install }} \ | ||
--faucet-key=${{ inputs.faucet-private-key }} \ | ||
--dpns-contract-id=${{ inputs.dpns-contract-id }} \ | ||
--dpns-tld-identity-id=${{ inputs.dpns-top-level-identity-id }} \ | ||
--dpns-tld-identity-private-key=${{ inputs.dpns-top-level-identity-private-key }} |