github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/functests/f0061.yml (about) 1 goal: 2 - it will error if the refdir overrided not correct 3 4 vars: 5 student_name: tom 6 classes: [1k,2b,3j,4s] 7 8 tasks: 9 10 - 11 name: task 12 ref: c0061-task-main.yml 13 refdir: ./tests 14 15 - 16 name: a_very_complicated_task 17 desc: "a_very_complicated_task" 18 ref: c0061-task-complicate 19 20 - 21 name: task_a 22 task: 23 - 24 func: shell 25 do: 26 - echo "task_a_step1" 27 - 28 name: task_c 29 task: 30 - 31 func: shell 32 do: 33 - echo "task_c_step1" 34 35 - 36 name: task_b 37 task: 38 - 39 func: shell 40 do: 41 - echo "task_b_step1" 42 - echo "{{.loopindex}} -> student nameed {{.student_name}} has been in class [{{.loopitem}}]" 43