github.com/swaros/contxt/module/runner@v0.0.0-20240305083542-3dbd4436ac40/testdata/issues/issue_188/issue_188.yml (about)

     1  # test: issue_188
     2  # this is a test for issue 188 where subtasks is is running in a different directory
     3  # than the main task
     4  # the main issue is that while running in interactive shell, and an subtask runs infinitely in a different directory
     5  # the whole application is also sticking to this path, and fails to run any other task, because the current taksfile 
     6  # is not found in the subtask directory
     7  # this test is to check if this behavior is also present in the regular run without interactive shell
     8  testName: issue_188
     9  runCmd: run main
    10  disabled: true
    11  systems:
    12    - linux
    13  expect:
    14      output:
    15        - "hello-subtask1"
    16        - "hello-subtask2"
    17        - "hello-main"
    18        - "issue_188/subtask1@sub1"
    19        - "issue_188/subtask2@sub2"
    20        - "issues/issue_188@main"
    21      not:
    22        -  no such file or directory
    23