Skip to content

Commit

Permalink
Fetch contract from ibc-rs workflow artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Apr 22, 2024
1 parent 8c19259 commit c792cc4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Binary file not shown.

0 comments on commit c792cc4

Please sign in to comment.