RPC Tests #323
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: RPC Tests | |
on: | |
workflow_dispatch: | |
inputs: | |
NODE_ADDRESS: | |
description: 'Target Node Address, e.g http://IP_ADDRESS:PORT' | |
required: true | |
NETWORK: | |
description: 'Target Network' | |
required: true | |
default: 'mainnet' | |
jobs: | |
RPC_Tests: | |
name: RPC Test Execution | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Juno Smoke Tests | |
uses: actions/[email protected] | |
with: | |
repository: NethermindEth/juno-smoke-tests | |
token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }} | |
- name: Setup Go Environment | |
uses: actions/[email protected] | |
with: | |
go-version-file: rpc-tests/go.mod | |
- name: Execute RPC Tests | |
working-directory: rpc-tests/tests | |
run: go test -v --nodeURL=${{ github.event.inputs.NODE_ADDRESS }} --network=${{ github.event.inputs.NETWORK }} |