fix: publish completed UnbondingDelegation events to kafka in EndBlock #709
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: integration-ci | |
on: ["push", "pull_request", "workflow_dispatch"] | |
jobs: | |
integration-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/go/bin | |
key: tools-v0 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- run: sudo apt-get update -y && sudo apt-get install -y expect | |
# used to debug workflow | |
# - name: Setup tmate session | |
# uses: mxschmitt/action-tmate@v3 | |
- run: make bep159_integration_test recon_integration_test integration_test | |
coverage-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/go/bin | |
key: tools-v0 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- run: make test | |
- run: make test_coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |