github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/functests/f0067.yml (about)

     1  bugfix:
     2    given:
     3      - the last step fails
     4    expect:
     5      - the overall status of the program returns the error code
     6  
     7  tasks:
     8    -
     9      name: task
    10      desc: this is task
    11      task: #this comment will not be treated as desc of the task, removing # will invalid the yml
    12        -
    13          func: shell
    14          desc: do step1 in shell func
    15          do:
    16            - echo "hello"
    17            - echo "world"
    18            - echo "world"|grep non-exist