From c17b7b9949a129cfeb65f535868e40013ee5277d Mon Sep 17 00:00:00 2001 From: bizk Date: Mon, 25 Sep 2023 15:54:15 -0300 Subject: [PATCH] restructured workflow stage --- .github/workflows/rosetta-cli-test.yaml | 6 +++++- Makefile | 1 - tests/rosetta-cli/rosetta-cli-test.sh | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rosetta-cli-test.yaml b/.github/workflows/rosetta-cli-test.yaml index 233e428..86861b5 100644 --- a/.github/workflows/rosetta-cli-test.yaml +++ b/.github/workflows/rosetta-cli-test.yaml @@ -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 \ No newline at end of file diff --git a/Makefile b/Makefile index 8ad35fe..bf1c812 100644 --- a/Makefile +++ b/Makefile @@ -35,5 +35,4 @@ docker: docker build . --tag rosetta rosetta-cli: - ./tests/rosetta-cli/data.sh ./tests/rosetta-cli/rosetta-cli-test.sh \ No newline at end of file diff --git a/tests/rosetta-cli/rosetta-cli-test.sh b/tests/rosetta-cli/rosetta-cli-test.sh index 859f224..2ea1bf1 100755 --- a/tests/rosetta-cli/rosetta-cli-test.sh +++ b/tests/rosetta-cli/rosetta-cli-test.sh @@ -1,4 +1,4 @@ #!/bin/bash export PATH=${PATH}:`go env GOPATH`/bin go install github.com/coinbase/rosetta-cli@v0.10.0 -rosetta-cli check:data --in-memory-mode --configuration-file ./tests/config/rosetta-cli.json \ No newline at end of file +rosetta-cli check:data --in-memory-mode --configuration-file ./tests/rosetta-cli/rosetta-cli.json \ No newline at end of file