Skip to content

Commit

Permalink
added job paralelization
Browse files Browse the repository at this point in the history
  • Loading branch information
bizk committed Sep 10, 2023
1 parent 641629a commit 5c48307
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/rosetta-cli-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
contents: read

jobs:
build:
run-rosetta:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -32,5 +32,15 @@ jobs:
- name: Build Rosetta
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make rosetta
- name: Run Rosetta
run: ./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:
matrix:
go-arch: ["amd64", "arm", "arm64"]
steps:
- uses: actions/checkout@v3
- name: Rosetta-cli setup & test
run: GOARCH=${{ matrix.go-arch }} make rosetta-cli
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ lint-fix:
rosetta-cli:
echo "Installing rosetta linter"
curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/master/scripts/install.sh | sh -s
ls
./bin/rosetta-cli --configuration-file ./configs/rosetta-config-cli.json check:data

0 comments on commit 5c48307

Please sign in to comment.