yamllint-junit


Nameyamllint-junit JSON
Version 0.10.1 PyPI version JSON
download
home_pagehttps://github.com/wasilak/yamllint-junit
Summaryyamllint to JUnit converter.
upload_time2023-01-27 21:20:55
maintainer
docs_urlNone
authorwasil
requires_python
license
keywords yaml junit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            [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, 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](https://www.atlassian.com/software/bamboo) which require that a properly formed JUnit file containing a minimum of one testcase be recorded in order to not fail builds.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/wasilak/yamllint-junit",
    "name": "yamllint-junit",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "yaml,junit",
    "author": "wasil",
    "author_email": "piotr.m.boruc@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d3/2c/0abadb14dbb398afd6840b62d6c7a827b7874d765f11c776c0fd3333f633/yamllint-junit-0.10.1.tar.gz",
    "platform": null,
    "description": "[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)\n---\n\n### Installation\nvia pip:\n```shell\npip install yamllint-junit\n```\n### Updating\nvia pip:\n```shell\npip install yamllint-junit --upgrade\n```\n\n### Usage:\nrun `yamllint-junit` and pass `yamllint` (with `-f parsable` option) output to it\n```shell\nyamllint -f parsable test.yaml | yamllint-junit -o yamllint-junit.xml\n```\n\n### Output\n* If there are any lint errors, JUnit XML will be created specifying the detailed description of each error as reported by yamllint \n* 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](https://www.atlassian.com/software/bamboo) which require that a properly formed JUnit file containing a minimum of one testcase be recorded in order to not fail builds.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "yamllint to JUnit converter.",
    "version": "0.10.1",
    "split_keywords": [
        "yaml",
        "junit"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df77f62d4fdde896ff50c6b174fee32493c15f2aa09c1589d90cbdb3f54a271d",
                "md5": "d2f97d6a2468e260f5059ab391cb30a8",
                "sha256": "af7e04313d7f4d73aaccb89214cbb9fdc58b5966697327b0548f881d0b51f74a"
            },
            "downloads": -1,
            "filename": "yamllint_junit-0.10.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d2f97d6a2468e260f5059ab391cb30a8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4774,
            "upload_time": "2023-01-27T21:20:54",
            "upload_time_iso_8601": "2023-01-27T21:20:54.245147Z",
            "url": "https://files.pythonhosted.org/packages/df/77/f62d4fdde896ff50c6b174fee32493c15f2aa09c1589d90cbdb3f54a271d/yamllint_junit-0.10.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d32c0abadb14dbb398afd6840b62d6c7a827b7874d765f11c776c0fd3333f633",
                "md5": "7b70714c2ab02e3d18e58ded419bf3dc",
                "sha256": "0b73b78b93a2767255671ade24c6f50440b2d4229f1398e528b071a2def27d21"
            },
            "downloads": -1,
            "filename": "yamllint-junit-0.10.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7b70714c2ab02e3d18e58ded419bf3dc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4349,
            "upload_time": "2023-01-27T21:20:55",
            "upload_time_iso_8601": "2023-01-27T21:20:55.682086Z",
            "url": "https://files.pythonhosted.org/packages/d3/2c/0abadb14dbb398afd6840b62d6c7a827b7874d765f11c776c0fd3333f633/yamllint-junit-0.10.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-27 21:20:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "wasilak",
    "github_project": "yamllint-junit",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "yamllint-junit"
}
        
Elapsed time: 0.38856s