Skip to main content

yamllint to JUnit converter.

Project description

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, 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.

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.10.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

yamllint_junit-0.10.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file yamllint-junit-0.10.1.tar.gz.

File metadata

  • Download URL: yamllint-junit-0.10.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.16

File hashes

Hashes for yamllint-junit-0.10.1.tar.gz
Algorithm Hash digest
SHA256 0b73b78b93a2767255671ade24c6f50440b2d4229f1398e528b071a2def27d21
MD5 7b70714c2ab02e3d18e58ded419bf3dc
BLAKE2b-256 d32c0abadb14dbb398afd6840b62d6c7a827b7874d765f11c776c0fd3333f633

See more details on using hashes here.

File details

Details for the file yamllint_junit-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: yamllint_junit-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.16

File hashes

Hashes for yamllint_junit-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af7e04313d7f4d73aaccb89214cbb9fdc58b5966697327b0548f881d0b51f74a
MD5 d2f97d6a2468e260f5059ab391cb30a8
BLAKE2b-256 df77f62d4fdde896ff50c6b174fee32493c15f2aa09c1589d90cbdb3f54a271d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page