Skip to content

fix: Update Swagger doc and config to include CWICA and CWErrors modules #385

fix: Update Swagger doc and config to include CWICA and CWErrors modules

fix: Update Swagger doc and config to include CWICA and CWErrors modules #385

Workflow file for this run

name: Run InterchainTest
on:
pull_request:
branches:
- main
- 'releases/**'
jobs:
build_images:
name: Build archway images
runs-on: ubuntu-latest
steps:
- name: Checkout archway-network/archway
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get last release tag
id: lastrelease
uses: WyriHaximus/github-action-get-previous-tag@v1
with:
prefix: 'v'
- name: Checkout heighliner
uses: actions/checkout@v3
with:
repository: strangelove-ventures/heighliner
path: heighliner
- name: Setup up Golang
uses: actions/setup-go@v4
with:
go-version-file: 'heighliner/go.mod'
- name: Install heighliner
run: cd heighliner && go install
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build current image
run: |
heighliner build --org archway-network --repo archway --dockerfile cosmos --build-target "make build" --build-env "BUILD_TAGS=muslc" --binaries "build/archwayd" --git-ref ${{ github.head_ref }} --chain archway --tag local
- name: Upload current image
uses: ishworkh/[email protected]
with:
image: archway:local
retention_days: 3
- name: Build ${{ steps.lastrelease.outputs.tag }} image
run: |
heighliner build --org archway-network --repo archway --dockerfile cosmos --build-target "make build" --build-env "BUILD_TAGS=muslc" --binaries "build/archwayd" --git-ref ${{ steps.lastrelease.outputs.tag }} --chain archway --tag ${{ steps.lastrelease.outputs.tag }}
- name: Upload ${{ steps.lastrelease.outputs.tag }} image
uses: ishworkh/[email protected]
with:
image: archway:${{ steps.lastrelease.outputs.tag }}
retention_days: 3
run_chain_upgrade_test:
name: Chain upgrade test
needs: [build_images]
runs-on: ubuntu-latest
steps:
- name: Checkout archway-network/archway/interchaintest
uses: actions/checkout@v3
with:
fetch-depth: 0
sparse-checkout: interchaintest
- name: Setup up Golang
uses: actions/setup-go@v4
with:
go-version-file: 'interchaintest/go.mod'
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Download current image
uses: actions/download-artifact@v3
with:
name: action_image_artifact_archway_local
- name: Load current image
run: docker load --input archway_local
- name: Get last release tag
id: lastrelease
uses: WyriHaximus/github-action-get-previous-tag@v1
with:
prefix: 'v'
- name: Download ${{ steps.lastrelease.outputs.tag }} image
uses: actions/download-artifact@v3
with:
name: action_image_artifact_archway_${{ steps.lastrelease.outputs.tag }}
- name: Load ${{ steps.lastrelease.outputs.tag }} image
run: docker load --input archway_${{ steps.lastrelease.outputs.tag }}
- name: Run chain upgrade test
run: |
cd interchaintest
go test -v -race -run TestChainUpgrade
ibc_conformance_tests:
name: Gaia <> Archway Conformance
needs: [build_images]
runs-on: ubuntu-latest
steps:
- name: Checkout archway-network/archway/interchaintest
uses: actions/checkout@v3
with:
fetch-depth: 0
sparse-checkout: interchaintest
- name: Setup up Golang
uses: actions/setup-go@v4
with:
go-version-file: 'interchaintest/go.mod'
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Download current image
uses: actions/download-artifact@v3
with:
name: action_image_artifact_archway_local
- name: Load current image
run: docker load --input archway_local
- name: Run chain conformance test
run: |
cd interchaintest
go test -v -race -run TestGaiaConformance
cwica_tests:
name: Interchain transactions test
needs: [build_images]
runs-on: ubuntu-latest
steps:
- name: Checkout archway-network/archway/interchaintest
uses: actions/checkout@v3
with:
fetch-depth: 0
sparse-checkout: interchaintest
- name: Setup up Golang
uses: actions/setup-go@v4
with:
go-version-file: 'interchaintest/go.mod'
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Download current image
uses: actions/download-artifact@v3
with:
name: action_image_artifact_archway_local
- name: Load current image
run: docker load --input archway_local
- name: Run interchain transactions test
run: |
cd interchaintest
go test -v -race -run TestCWICA