docs: added a diagram to README.md #53
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: e2e | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- uses: actions/checkout@v3 | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.53.2 | |
args: --timeout 5m | |
working-directory: e2e/interchaintest | |
build: | |
strategy: | |
matrix: | |
test: | |
- TestIcaContractChannelHandshake | |
- TestIcaContractExecutionProto3JsonEncoding | |
- TestIcaContractExecutionProtobufEncoding | |
- TestIcaContractTimeoutPacket | |
name: ${{ matrix.test }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install cargo-run-script | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-run-script | |
- name: Build Optimized Contract | |
uses: actions-rs/cargo@v1 | |
with: | |
command: run-script | |
args: optimize | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: TestContract | |
run: | | |
cd e2e/interchaintest | |
go test -v . -run TestWithContractTestSuite -testify.m ${{ matrix.test }} |