Skip to content

goldmansachs/yamllint-junit

 
 

Repository files navigation

yamllint-junit to JUnit converter Build Status

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%