Introduce cosmos- and wasm- encoding components crates (#431) #151
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 Tests (Legacy) | |
on: | |
pull_request: {} | |
push: | |
branches: main | |
# Cancel previous runs of this workflow when a new commit is added to the PR, branch or tag | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
integration-test: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
chain: | |
- package: gaia14 | |
command: gaiad | |
account_prefix: cosmos | |
features: '' | |
- package: ibc-go-v7-simapp | |
command: simd | |
account_prefix: cosmos | |
features: solomachine | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V27 | |
with: | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: hermes-sdk | |
extraPullNames: cosmos-nix | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: -p ibc-integration-test --no-run --features=${{ matrix.chain.features }} | |
- name: run integration tests | |
env: | |
RUST_LOG: info,ibc_relayer_runtime=trace | |
RUST_BACKTRACE: 1 | |
NO_COLOR_LOG: 1 | |
CHAIN_COMMAND_PATHS: ${{ matrix.chain.command }} | |
ACCOUNT_PREFIXES: ${{ matrix.chain.account_prefix }} | |
run: | | |
nix shell .#cargo-nextest .#protobuf .#${{ matrix.chain.package }} -c \ | |
cargo nextest run \ | |
-p ibc-integration-test \ | |
--features=${{ matrix.chain.features }} \ | |
--test-threads=2 \ | |
--failure-output final |