Skip to content

Commit

Permalink
Merge pull request #7 from RizeLabs/feat/gh-workflow
Browse files Browse the repository at this point in the history
Workflow: start miden-node before running test
  • Loading branch information
nlok5923 authored May 1, 2024
2 parents d56731d + 212aedc commit d7d860d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,27 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Checkout server repo code
uses: actions/checkout@v3
with:
repository: 'RizeLabs/miden-node'
path: 'miden-node'

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true

- name: Start miden node # start local miden node
run: |
cd miden-node
cargo install --features testing --path bin/node # install miden-node binary
cd bin/node
miden-node make-genesis --force
miden-node start node
- name: Run tests
run: cargo test --release
run: cargo test --release -- --nocapture

0 comments on commit d7d860d

Please sign in to comment.