Skip to content

Commit

Permalink
add scarb build for madara
Browse files Browse the repository at this point in the history
  • Loading branch information
byteZorvin committed Sep 28, 2024
1 parent 2a074d0 commit d2c5729
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/starknet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
toolchain: stable
override: true

- name: Setup Scarb
run: |
cd madara/cairo
uses: asdf-vm/actions/install@v3
cd -
- name: Build Madara
run: |
cd madara
Expand All @@ -40,20 +46,19 @@ jobs:
uses: actions/checkout@v4
with:
repository: madara-alliance/madara-orchestrator # Replace with your second repository
path: orchestrator
path: madara-orchestrator



- run:
cd crates/settlement-clients/starknet/src/tests/mock_contracts
- uses: asdf-vm/actions/install@v3
- run:
- name: Build Mock Contracts using Scarb
run: |
cd madara-orchestrator/crates/settlement-clients/starknet/src/tests/mock_contracts
uses: asdf-vm/actions/install@v3
scarb fmt --check
scarb build
cd -
- name: Run Starknet tests
run: |
cd orchestrator
cargo test -p starknet-settlement-client -- --nocapture --test-threads=1
cd madara-orchestrator
cargo test -p starknet-settlement-client -- --nocapture --test-threads=1

0 comments on commit d2c5729

Please sign in to comment.