yamllint to JUnit converter.
Project description
yamllint-junit to JUnit converter
Installation
via pip:
pip install yamllint-junit
Updating
via pip:
pip install yamllint-junit --upgrade
Usage:
run yamllint-junit
and pass yamllint
(with -f parsable
option) output to it
yamllint -f parsable test.yaml | yamllint-junit -o yamllint-junit.xml
Output
- if there are any lint errors, full JUnit XML will be created
- if there are no errors, empty JUnit XML will be created, this is for i.e. Bamboo JUnit parser plugin compatibility. It will break build if XML is missing or incorrect, and there is really no way of generating XML with "PASSED" tests in case of linter.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yamllint-junit-0.7.tar.gz
(3.1 kB
view hashes)