When I commit my solution to a challenge, the file starts to be evaluated by the CI pipelines, I haven’t managed to pass test_user_yaml and test_policy pipelines and don’t know why
What do you understand or find about that problem
I get the error message:
[ERROR] Valid YAML file not found. Touched files in the last commit for the user rokkux are: [‘code/codeabbey/003/rokkux.pony’]
40Seems like your YAML file is non compliant. Please read Submission · Wiki · Autonomic Jump / challenges · GitLab
41Traceback (most recent call last):
42 File “build/modules/test-user-yaml/main.py”, line 215, in
44 File “build/modules/test-user-yaml/main.py”, line 181, in main
45 user_yaml_path: str = get_solution_yaml(touched_files, branch_name)
46 File “build/modules/test-user-yaml/main.py”, line 167, in get_solution_yaml
47 raise error
48 File “build/modules/test-user-yaml/main.py”, line 157, in get_solution_yaml
49 solution: str = [x for x in files if re.match(patt, x)]
50IndexError: list index out of range
You make any workaround? What did you do?
Nope, I’m not sure how can I workaround this, although I thought that maybe my error was because the solution’s yml file had not passed the pipelines as well, but yesterday this was proved wrong.
My yml passed the pipelines, but the solution’s file still has this YAML error.
I have no workaround for this
(Optional) Why fails your workaround?
I’m not sure.
I need help with
An explanation as for why this happens and how can I avoid this kind of problems
Thanks in advance