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

     1  notes:
     2    - test the duplicated task name
     3  
     4  tasks:
     5  
     6    -
     7      name: task
     8      task:
     9  
    10        -
    11          func: shell
    12          do:
    13            - echo "hello"
    14  
    15    -
    16      desc: |
    17        a anonymous/empty named task could be used for a place holder for developement
    18        so it is still treated as valid task, since there is no name, it will not be used and invoked as an entry point
    19      task:
    20        -
    21          func: shell
    22          do:
    23            - echo "i am a no name task"
    24  
    25    -
    26      name: task
    27      task:
    28        -
    29          func: shell
    30          do:
    31            - echo "world"