From 1dc7a3daa852def422aaf3820d0ea613764e5011 Mon Sep 17 00:00:00 2001 From: bizk Date: Tue, 12 Sep 2023 04:10:40 -0300 Subject: [PATCH] test running serialized jobs --- .github/workflows/rosetta-cli-test.yaml | 43 ++++++++----------------- 1 file changed, 14 insertions(+), 29 deletions(-) diff --git a/.github/workflows/rosetta-cli-test.yaml b/.github/workflows/rosetta-cli-test.yaml index 536df7e..aea8ef5 100644 --- a/.github/workflows/rosetta-cli-test.yaml +++ b/.github/workflows/rosetta-cli-test.yaml @@ -15,36 +15,21 @@ jobs: run-simapp: runs-on: ubuntu-latest steps: - - name: Clone supercharge website repository - uses: actions/checkout@v2 - - name: Clone supercharge docs repository - uses: actions/checkout@v2 + - 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 & - - run-rosetta: - runs-on: ubuntu-latest - needs: run-simapp - strategy: - fail-fast: true - steps: - - name: Sleep for 2 minutes - run: sleep 120s - shell: bash - - uses: actions/checkout@v3 - - name: review - run: cat ./plugins/cosmos-hub/main.go - - 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 &" - run-rosetta-cli-tests: - runs-on: ubuntu-latest - needs: run-rosetta - strategy: - fail-fast: true - steps: - - uses: actions/checkout@v3 - - name: Rosetta-cli setup & test - run: make rosetta-cli + run: make build && export SIMD_BIN=./build/simd && make init-simapp && ./build/simd start & + - name: Sleep for 2 minutes + run: sleep 120s + shell: bash + - uses: actions/checkout@v3 + - name: review + run: cat ./plugins/cosmos-hub/main.go + - 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