Skip to content

Commit

Permalink
try checking structure
Browse files Browse the repository at this point in the history
  • Loading branch information
byteZorvin committed Sep 28, 2024
1 parent d539edb commit 16f934d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
11 changes: 6 additions & 5 deletions .github/workflows/starknet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -37,24 +36,26 @@ 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

- 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

0 comments on commit 16f934d

Please sign in to comment.