From 62e63847122bd0fb340ba1b1cb9f9c7f49b54e94 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Mon, 2 Dec 2024 16:37:32 +0100 Subject: [PATCH] fix light client run on ci --- .github/workflows/light-client.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/light-client.yaml b/.github/workflows/light-client.yaml index 66246947..4c8b2bd1 100644 --- a/.github/workflows/light-client.yaml +++ b/.github/workflows/light-client.yaml @@ -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() }}