Skip to content

Commit

Permalink
Add time out to TXM process (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass authored Sep 21, 2023
1 parent e429809 commit ac79fd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- '**.toml'
- 'bindings/**'
- '!bindings/**.md'
- 'bindings/wasm/README.md' # the Readme contain txm tests

env:
RUST_BACKTRACE: full
Expand Down
2 changes: 1 addition & 1 deletion bindings/wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Test this example using https://github.com/anko/txm: `txm README.md`
Replace imports with local paths for txm:
!test program
cat | sed -e "s#require('@iota/identity-wasm/node')#require('./node')#" | node
cat | sed -e "s#require('@iota/identity-wasm/node')#require('./node')#" | timeout 30 node || (echo "Process timed out after 30 seconds" && exit 1)
-->
<!-- !test check Nodejs Example -->

Expand Down

0 comments on commit ac79fd9

Please sign in to comment.