Skip to main content

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.

Files for yamllint-junit, version 0.8
Filename, size File type Python version Upload date Hashes
Filename, size yamllint-junit-0.8.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page