feat: command timeouts (#2898)

This commit is contained in:
Valentin Maerten
2026-08-11 22:09:25 +02:00
committed by GitHub
parent 993508c782
commit 37898d9102
21 changed files with 830 additions and 50 deletions

View File

@@ -18,3 +18,23 @@ tasks:
cmd-should-fail:
cmds:
- cmd: exit 1
task-timeout-should-pass:
cmds:
- cmd: sleep 10
timeout: 200ms
- echo "reached the end"
ignore_error: true
cmd-timeout-should-pass:
cmds:
- cmd: sleep 10
timeout: 200ms
ignore_error: true
- echo "reached the end"
cmd-timeout-should-fail:
cmds:
- cmd: sleep 10
timeout: 200ms
- echo "reached the end"