Skip to content

Commit 8939575

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 8939575

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 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,20 @@ 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+
84+
- name: wasm-utxo / Wasm-Pack Test (Node)
8485
run: npm run test:wasm-pack-node
8586
working-directory: packages/wasm-utxo
8687

87-
- name: Wasm-Pack Test (Chrome)
88+
- name: wasm-utxo / Wasm-Pack Test (Chrome)
8889
run: npm run test:wasm-pack-chrome
8990
working-directory: packages/wasm-utxo
9091

0 commit comments

Comments
 (0)