Files
task/testdata/ignore_errors/Taskfile.yml

41 lines
655 B
YAML
Raw Normal View History

version: '3'
2018-07-10 10:44:58 +02:00
tasks:
2018-08-05 12:53:42 -03:00
task-should-pass:
cmds:
- exit 1
ignore_error: true
task-should-fail:
cmds:
- exit 1
cmd-should-pass:
cmds:
- cmd: exit 1
ignore_error: true
cmd-should-fail:
cmds:
2018-08-05 12:53:42 -03:00
- cmd: exit 1
2026-08-11 22:09:25 +02:00
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"