Minor fix in itests #16
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: Process Kava Repository Dispatch Event | |
on: | |
push: | |
branches: [ process_kava_dispatch ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: rosetta-kava | |
- name: "echo" | |
run: "echo $GITHUB_WORKSPACE" | |
- name: "ls" | |
run: "ls -la $GITHUB_WORKSPACE" | |
- name: "pwd" | |
run: "pwd" | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: rosetta-kava/go.mod | |
- name: Cache Go Modules | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('./rosetta-kava/**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
# - name: Build | |
# run: make build | |
# - name: "Clone Kava" | |
# run: git clone https://github.com/Kava-Labs/kava | |
- name: Checkout kava | |
uses: actions/checkout@v4 | |
with: | |
repository: Kava-Labs/kava | |
path: kava | |
- name: "echo" | |
run: "echo $GITHUB_WORKSPACE" | |
- name: "ls" | |
run: "ls -la $GITHUB_WORKSPACE" | |
- name: "pwd" | |
run: "pwd" | |
- name: "build kava" | |
run: make docker-build | |
working-directory: ./kava | |
- name: Checkout kvtool | |
uses: actions/checkout@v4 | |
with: | |
repository: Kava-Labs/kvtool | |
path: kvtool | |
- name: "build kvtool" | |
run: make install | |
working-directory: ./kvtool | |
- name: "start kvtool" | |
run: KAVA_TAG=local kvtool t bootstrap | |
- name: "sleep 10 sec" | |
run: "sleep 10" | |
- name: Test Integration | |
run: KAVA_RPC_URL=http://localhost:26657 NETWORK=kava-local PORT=4000 make test-integration | |
working-directory: ./kava |