Skip to content

Commit

Permalink
Limit test threads to one and log output
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Sep 14, 2024
1 parent c84aa8f commit 3e9a8a5
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build-and-run-node-test.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
name: "Build and test"
on:
push:
paths:
- "node/**"
- "crates/**"
- "pallets/**"
- "runtime/**"
on: ["push"]
# on:
# push:
# paths:
# - "node/**"
# - "crates/**"
# - "pallets/**"
# - "runtime/**"

jobs:
node-test:
Expand Down Expand Up @@ -34,6 +35,6 @@ jobs:
run: |
pushd node
cargo build --all-targets --release -j $(nproc)
cargo test -p entropy-tss --all-targets --release -- user::tests validator::tests --test-threads 4
cargo test -p entropy-tss --all-targets --release -- user::tests validator::tests --test-threads 1 --nocapture
yarn --cwd ../crates/protocol/nodejs-test test
cargo test -p entropy-tss --release --features=test_helpers -F wasm_test test_wasm -j 4

0 comments on commit 3e9a8a5

Please sign in to comment.