Skip to content

Commit ecec612

Browse files
committed
Tests passing!
1 parent 8c04d2e commit ecec612

3 files changed

Lines changed: 1781 additions & 1579 deletions

File tree

justfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@ default:
22
@just --list
33

44
test *args:
5-
cargo test {{ args }} --features _test-utils -p orange-sdk -- --nocapture
5+
#!/usr/bin/env bash
6+
THREADS=$(($(nproc) / 2))
7+
if [ $THREADS -lt 1 ]; then THREADS=1; fi
8+
cargo test {{ args }} --features _test-utils -p orange-sdk -- --test-threads=$THREADS
69
710
test-cashu *args:
8-
cargo test {{ args }} --features _cashu-tests -p orange-sdk
11+
#!/usr/bin/env bash
12+
THREADS=$(($(nproc) / 2))
13+
if [ $THREADS -lt 1 ]; then THREADS=1; fi
14+
cargo test {{ args }} --features _cashu-tests -p orange-sdk -- --test-threads=$THREADS
915
1016
cli:
1117
cd examples/cli && cargo run

0 commit comments

Comments
 (0)