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

     1  goal:
     2    - to test task and step validation
     3    - no - allowed in task name, it must be _
     4    - no - allowed in step name, it must be _
     5  
     6  tasks:
     7  
     8    -
     9      name: task
    10      task:
    11        -
    12          func: shell
    13          name: step-a
    14          do:
    15            - echo "hello, world"
    16  
    17    -
    18      name: task-b
    19      task:
    20        -
    21          func: shell
    22          name: step-b
    23          do:
    24            - echo "hello, world"