Skip to content

CI: fix yaml-to-junit-xml script

Wismill requested to merge wismill/xkeyboard-config:wip/fix-CI into master

There is the following error in the current layout_tests job:

Traceback (most recent call last):
  File "/builds/xkeyboard-config/xkeyboard-config/.gitlab-ci/yaml-to-junit-xml.py", line 38, in <module>
    for testcase in yml:
TypeError: 'NoneType' object is not iterable

It might be because of an API change. I worries me that it went totally unnoticed! Is there a way to avoid this in the future?

This MR fixes this issue, and additionally report successful tests count.

Merge request reports