diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 2202ac5c7d..c421ad30ff 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -31,6 +31,7 @@ env: RUST_BACKTRACE: short CARGO_NET_RETRY: 10 RUSTUP_MAX_RETRIES: 10 + UPLOAD_WASM_RUN_ID: 8771446396 # Cancel previous runs of this workflow when a new commit is added to the PR, branch or tag concurrency: @@ -251,7 +252,7 @@ jobs: cargo nextest run -p ibc-integration-test --no-fail-fast --failure-output final --test-threads=2 \ --features interchain-security,ics31 interchain_security:: - wasm: + wasm-client: runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -278,11 +279,22 @@ jobs: toolchain: stable - name: Install cargo-nextest run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin - - uses: actions-rs/cargo@v1 + - name: Download latest IBC client CosmWasm contract + uses: actions/download-artifact@v4 + with: + run-id: ${{ env.UPLOAD_WASM_RUN_ID }} + repository: cosmos/ibc-rs + pattern: tendermint-cw-* + github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Relocate CosmWasm contract + run: mv tendermint-cw-*/ibc_client_tendermint_cw.wasm tools/integration-test/fixtures/wasm/ibc_client_tendermint_cw.wasm + - name: Build tests + uses: actions-rs/cargo@v1 with: command: nextest args: run -p ibc-integration-test --features wasm --no-run - - env: + - name: Run tests + env: RUST_LOG: info RUST_BACKTRACE: 1 NO_COLOR_LOG: 1 diff --git a/tools/integration-test/fixtures/wasm/ibc_client_tendermint_cw.wasm b/tools/integration-test/fixtures/wasm/ibc_client_tendermint_cw.wasm deleted file mode 100755 index 054f82c6ef..0000000000 Binary files a/tools/integration-test/fixtures/wasm/ibc_client_tendermint_cw.wasm and /dev/null differ