Skip to content

Commit d08c5b8

Browse files
OttoAllmendingerllm-git
andcommitted
feat(wasm-utxo): add native cargo tests and improve CI workflow organization
Enhances CI workflow by adding native cargo tests and reorganizing test steps with clearer labels to better distinguish between test types. Also adds npx version output to build info section. Issue: BTC-2652 Co-authored-by: llm-git <[email protected]>
1 parent 9dfaf8b commit d08c5b8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
run: |
5353
echo "node $(node --version)"
5454
echo "npm $(npm --version)"
55+
echo "npx $(npx --version)"
5556
echo "rustc $(rustc --version)"
5657
echo "wasm-pack $(wasm-pack --version)"
5758
echo "wasm-opt $(wasm-opt --version)"
@@ -71,20 +72,21 @@ jobs:
7172
run: cargo deny check
7273
working-directory: packages/wasm-utxo
7374

74-
- name: test
75-
run: npx --version
76-
7775
- name: build packages
7876
run: npm --workspaces run build
7977

8078
- name: Check Source Code Formatting
8179
run: npm run check-fmt
8280

83-
- name: Wasm-Pack Test (Node)
81+
- name: wasm-utxo / cargo test
82+
run: cargo test --workspace
83+
working-directory: packages/wasm-utxo
84+
85+
- name: wasm-utxo / Wasm-Pack Test (Node)
8486
run: npm run test:wasm-pack-node
8587
working-directory: packages/wasm-utxo
8688

87-
- name: Wasm-Pack Test (Chrome)
89+
- name: wasm-utxo / Wasm-Pack Test (Chrome)
8890
run: npm run test:wasm-pack-chrome
8991
working-directory: packages/wasm-utxo
9092

0 commit comments

Comments
 (0)