{ "info": { "author": "Ryan Wilson-Perkin", "author_email": "ryanwilsonperkin@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Testing" ], "description": "# circleci-flaky\n\n[![PyPI version](https://img.shields.io/pypi/v/circleci-flaky.svg)](https://pypi.org/project/circleci-flaky) [![Python versions](https://img.shields.io/pypi/pyversions/circleci-flaky.svg)](https://pypi.org/project/circleci-flaky)\n\nA command line utility to fetch a list of flaky tests from a CircleCI project.\n\n---\n\n## Features\n\nCircleCI provides an \"Insights\" section for your workflows, but it's limited in how far back the data goes. `circleci-flaky` allows you to specify up to 100 of the previous failed builds to check for recurring failed tests. It defaults to checking the master branch and displaying all failed tests, but both of these can be customized.\n\n```sh\n$ circleci-flaky -h\nusage: circleci-flaky [-h] [--branch BRANCH] [--builds N] [--top N] project\n\nCheck a CircleCI project for flaky tests\n\npositional arguments:\n project the project to check\n\noptional arguments:\n -h, --help show this help message and exit\n --branch BRANCH branch to check for failures (default: master)\n --builds N number of failed builds to check (default: 30)\n --top N limit results to the top N (default: all)\n```\n\n## Installation\n\nYou can install `circleci-flaky` via pip from [PyPI][pypi].\n\n```sh\n# If you run both Python 2 and 3 on your system, use pip3\nsudo pip3 install circleci-flaky\n\n# If you only run Python 3, you can just use pip\nsudo pip install circleci-flaky\n```\n\n## Usage\n\nBecause this tool leverages the CircleCI API, you'll need a Personal API Token.\nNavigate to https://circleci.com/account/api and create a new token (note it\ndown).\n\nRun the command like so:\n\n```sh\nCIRCLECI_TOKEN=your_token circleci-flaky org/repo\n```\n\nIf you want to persist the token for multiple runs in your terminal, export it instead:\n\n```sh\nexport CIRCLECI_TOKEN=your_token\n```\n\nthen run the command without specifying the token:\n\n```sh\ncircleci-flaky org/repo\n```\n\n## Contributing\n\nContributors welcome!\n\n## License\n\nDistributed under the terms of the [MIT](/LICENSE) license, `circleci-flaky` is free and open source software.\n\n## Issues\n\nIf you encounter any problems, please [file an issue](new-issue) along with a detailed description.\n\n[pypi]: https://pypi.org/project/circleci-flaky/\n[new-issue]: https://github.com/ryanwilsonperkin/circleci-flaky/issues/new", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ryanwilsonperkin/circleci-flaky", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "circleci-flaky", "package_url": "https://pypi.org/project/circleci-flaky/", "platform": "", "project_url": "https://pypi.org/project/circleci-flaky/", "project_urls": { "Homepage": "https://github.com/ryanwilsonperkin/circleci-flaky" }, "release_url": "https://pypi.org/project/circleci-flaky/1.0.3/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Fetch a list of flaky tests from a CircleCI project.", "version": "1.0.3" }, "last_serial": 4870982, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "39dde92dcc471e958b6f51f37b61f8dc", "sha256": "e6753f2873ff0d51ad4c6fb38526280ef9639ebe2bf2052427c01715691467c6" }, "downloads": -1, "filename": "circleci-flaky-1.0.0.tar.gz", "has_sig": false, "md5_digest": "39dde92dcc471e958b6f51f37b61f8dc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2292, "upload_time": "2019-02-26T18:11:58", "url": "https://files.pythonhosted.org/packages/ae/c4/52d3509116e54f51c16f4481f38217b693753a02372e6d59ce302f084fde/circleci-flaky-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "97f37dc79505bd2ea4913df34444e842", "sha256": "6a8c1438c73e24e92214a048d72ab220a8e55be364368bf6ab5d2f72464f2fce" }, "downloads": -1, "filename": "circleci-flaky-1.0.1.tar.gz", "has_sig": false, "md5_digest": "97f37dc79505bd2ea4913df34444e842", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3294, "upload_time": "2019-02-26T18:22:47", "url": "https://files.pythonhosted.org/packages/7e/97/2acce2c441b7c9d3b45cc5ba88f6ea6ff130649a8248a20dc6e640ae646b/circleci-flaky-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f51d1debe39517d91418f764551f5f2e", "sha256": "71322d73bb2977d11a3c88d31f75282d64f7e79544d0fc1098c06465b7d0f4c0" }, "downloads": -1, "filename": "circleci-flaky-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f51d1debe39517d91418f764551f5f2e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3337, "upload_time": "2019-02-26T18:24:40", "url": "https://files.pythonhosted.org/packages/8b/c0/503950ad617172c9621816724cf7583be5c3b919a680bdbf009ada876db5/circleci-flaky-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "6c82bb7b27453badc169b97213c21ea9", "sha256": "2dfbae30801925970b789f52e8372c6499157425522266dd6c3ab8543faa3d42" }, "downloads": -1, "filename": "circleci-flaky-1.0.3.tar.gz", "has_sig": false, "md5_digest": "6c82bb7b27453badc169b97213c21ea9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3570, "upload_time": "2019-02-26T18:29:33", "url": "https://files.pythonhosted.org/packages/b4/86/4bb47ac111201e83571d1383ae5eebd0c73bd7ac4beb4356df11b7d9184a/circleci-flaky-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c82bb7b27453badc169b97213c21ea9", "sha256": "2dfbae30801925970b789f52e8372c6499157425522266dd6c3ab8543faa3d42" }, "downloads": -1, "filename": "circleci-flaky-1.0.3.tar.gz", "has_sig": false, "md5_digest": "6c82bb7b27453badc169b97213c21ea9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3570, "upload_time": "2019-02-26T18:29:33", "url": "https://files.pythonhosted.org/packages/b4/86/4bb47ac111201e83571d1383ae5eebd0c73bd7ac4beb4356df11b7d9184a/circleci-flaky-1.0.3.tar.gz" } ] }