Skip to content

Commit

Permalink
fix light client run on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Dec 2, 2024
1 parent bd1ad71 commit 62e6384
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/light-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,14 @@ jobs:
- name: Build CosmWasm light client contract
working-directory: ./light-client
run: |
nix shell ..#rust-wasm -c \
cargo build -p ibc-client-starknet-cw --target wasm32-unknown-unknown
nix build ..#ibc-starknet-cw
echo "STARKNET_WASM_CLIENT_PATH=$(nix path-info ..#ibc-starknet-cw)/ibc_client_starknet_cw.wasm" >> $GITHUB_ENV
- name: E2E Test CosmWasm light client contract
working-directory: ./light-client
working-directory: ./relayer
run: |
nix build ..#rust-wasm ..#ibc-starknet-cw
STARKNET_WASM_CLIENT_PATH=$(nix path-info ..#ibc-starknet-cw)/ibc_client_starknet_cw.wasm
nix shell ..#ibc-starknet-cw -c \
cargo test -p ibc-client-starknet-cw --target wasm32-unknown-unknown
nix shell ..#rust -c \
cargo test test_starknet_light_client -- --nocapture
- name: Setup tmate session
if: ${{ failure() }}
Expand Down

0 comments on commit 62e6384

Please sign in to comment.