Skip to content

Commit

Permalink
restructured workflow stage
Browse files Browse the repository at this point in the history
  • Loading branch information
bizk committed Sep 25, 2023
1 parent 736623c commit c17b7b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/rosetta-cli-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ jobs:
shell: bash
- name: Check rosetta status
run: curl localhost:8081/block
- name: Test rosetta through Rosetta-cli
- name: Generate wallets and transactions
run:
export SIMD_BIN=./cosmos-sdk/build/simd &&
chmod +x ./tests/rosetta-cli/data.sh &&
./tests/rosetta-cli/data.sh
shell: bash
- name: Test rosetta through Rosetta-cli
run:
make rosetta-cli
shell: bash
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ docker:
docker build . --tag rosetta

rosetta-cli:
./tests/rosetta-cli/data.sh
./tests/rosetta-cli/rosetta-cli-test.sh
2 changes: 1 addition & 1 deletion tests/rosetta-cli/rosetta-cli-test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
export PATH=${PATH}:`go env GOPATH`/bin
go install github.com/coinbase/[email protected]
rosetta-cli check:data --in-memory-mode --configuration-file ./tests/config/rosetta-cli.json
rosetta-cli check:data --in-memory-mode --configuration-file ./tests/rosetta-cli/rosetta-cli.json

0 comments on commit c17b7b9

Please sign in to comment.