From 16f934d48d176d7173b8c28589e82fbb179d8f22 Mon Sep 17 00:00:00 2001 From: byteZorvin Date: Sat, 28 Sep 2024 19:16:31 +0530 Subject: [PATCH] try checking structure --- .env.test | 2 +- .github/workflows/starknet-test.yml | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.env.test b/.env.test index dd5b6a76..c739a151 100644 --- a/.env.test +++ b/.env.test @@ -68,4 +68,4 @@ ETHEREUM_BLAST_RPC_URL="https://eth-mainnet.public.blastapi.io" STARKNET_PRIVATE_KEY=0x76f2ccdb23f29bc7b69278e947c01c6160a31cf02c19d06d0f6e5ab1d768b86 STARKNET_PUBLIC_KEY=0x3bb306a004034dba19e6cf7b161e7a4fef64bc1078419e8ad1876192f0b8cd1 STARKNET_RPC_URL=http://localhost:9944 -MADARA_BINARY_PATH="/home/runner/madara-orchestrator/" +MADARA_BINARY_PATH="/home/runner/work/madara-orchestrator/madara/" \ No newline at end of file diff --git a/.github/workflows/starknet-test.yml b/.github/workflows/starknet-test.yml index 226c07a8..29b5fd32 100644 --- a/.github/workflows/starknet-test.yml +++ b/.github/workflows/starknet-test.yml @@ -16,12 +16,11 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout first repository + - name: Checkout Madara uses: actions/checkout@v4 with: repository: madara-alliance/madara # Replace with your first repository ref: main # Replace with your branch name - path: madara - name: Setup Rust uses: actions-rs/toolchain@v1 @@ -37,11 +36,11 @@ jobs: - name: Build Madara run: | pwd - tree -L 1 + tree -L 3 cd madara cargo build - - name: Checkout second repository + - name: Checkout Madara Orchestrator uses: actions/checkout@v4 with: repository: madara-alliance/madara-orchestrator # Replace with your second repository @@ -49,12 +48,14 @@ jobs: - name: Build Mock Contracts using Scarb run: | cd madara-orchestrator/crates/settlement-clients/starknet/src/tests/mock_contracts + tree -L 3 scarb fmt --check scarb build - name: Run Starknet tests + working-directory: madara-orchestrator run: | pwd - tree -L 1 + tree -L 3 cd madara-orchestrator cargo test -p starknet-settlement-client -- --nocapture --test-threads=1