Metadata-Version: 2.1
Name: yamllint-junit
Version: 0.9
Summary: yamllint to JUnit converter.
Home-page: https://github.com/wasilak/yamllint-junit
Download-URL: https://github.com/wasilak/yamllint-junit/archive/0.9.tar.gz
Author: wasil
Author-email: piotr.m.boruc@gmail.com
Keywords: yaml,junit
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: yamllint

[yamllint-junit](https://github.com/adrienverge/yamllint) to JUnit converter [![Build Status](https://travis-ci.com/wasilak/yamllint-junit.svg?branch=master)](https://travis-ci.com/wasilak/yamllint-junit)
---

### Installation
via pip:
```shell
pip install yamllint-junit
```
### Updating
via pip:
```shell
pip install yamllint-junit --upgrade
```

### Usage:
run `yamllint-junit` and pass `yamllint` (with `-f parsable` option) output to it
```shell
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](https://www.atlassian.com/software/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.
