feat: rosetta-cli test #34
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: rosetta-cli-test | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
run-simapp: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get cosmos-sdk repo | |
uses: actions/checkout@v3 | |
with: | |
repository: cosmos/cosmos-sdk | |
ref: main | |
- name: set up simapp | |
run: make build && export SIMD_BIN=./build/simd && make init-simapp && ./build/simd start && curl localhost:26657/status & | |
- name: Sleep for 2 minutes | |
run: sleep 120s | |
shell: bash | |
- uses: actions/checkout@v3 | |
- name: review | |
run: curl localhost:26657/status | |
- name: Build Rosetta | |
run: go mod tidy && make rosetta && make plugin && ./rosetta --blockchain "cosmos" --network "cosmos" --tendermint "tcp://localhost:26657" --addr "localhost:8080" --grpc "localhost:9090 &" | |
- uses: actions/checkout@v3 | |
- name: Rosetta-cli setup & test | |
run: make rosetta-cli |