harbor run -t openthoughts/tasktrove-openswe-tasks-patched-v5-oracle-success-openswe_oss-16753
harbor download openthoughts/tasktrove-openswe-tasks-patched-v5-oracle-success-openswe_oss-16753
The repository has not been cloned yet. Run the following command first to clone the repo, check out the target commit, and install dependencies:
bash /setup_files/setup.sh
The code will then be available at /testbed.
/testbed
You are working on the repository comtihon/catcher (instance: comtihon__catcher-355).
comtihon/catcher
comtihon__catcher-355
The code is located in /testbed.
##354 Skip_if not working in loop Using catcher-1.36.2
Let's try simple test:
variables: test_data: [ "NOT_PRESENT", "NOT_PRESENT", "PRESENT" ] steps: - echo: name: 'echo test items' from: 'Items are {{ test_data }}' - loop: foreach: in: test_data do: - echo: name: 'echo test item' from: 'Item is {{ ITEM }}' register: {found: '{{ ITEM == "PRESENT" }}'} - echo: name: 'echo flag' from: 'Found flag is {{ found }}' - check: name: 'truefalse test' skip_if: '{{ not found }}' equals: {the: '{{ found }}', is: True}
"check" step must NOT fail test in any case Also, first step in loop prints there some garbage: INFO:catcher:Item is t
INFO:catcher:Item is t