yamllint to JUnit converter.
yamllint-junit to JUnit converter
pip install yamllint-junit
pip install yamllint-junit --upgrade
yamllint-junit and pass
-f parsable option) output to it
yamllint -f parsable test.yaml | yamllint-junit -o yamllint-junit.xml
- If there are any lint errors, JUnit XML will be created specifying the detailed description of each error as reported by yamllint
- If there are no lint errors, JUnit XML will be created denoting one successful testcase named 'no_yamllint_errors'. This is to maintain compatibility with JUnit parsers such as Bamboo which require that a properly formed JUnit file containing a minimum of one testcase be recorded in order to not fail builds.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for yamllint_junit-0.10.1-py3-none-any.whl