{"repo":"pytest-dev/pytest-github-actions-annotate-failures","free":true,"listed":false,"github":"https://github.com/pytest-dev/pytest-github-actions-annotate-failures","clone":"git clone https://github.com/pytest-dev/pytest-github-actions-annotate-failures.git","description":"Pytest plugin to annotate failed tests with a workflow command for GitHub Actions","language":"Python","stars":178,"topics":["pytest","github-actions","python","testing","workflow"],"license":"MIT","category":"workflow-automation","readme_excerpt":"pytest-github-actions-annotate-failures Pytest plugin to annotate failed tests with a workflow command for GitHub Actions Usage Just install and run pytest with this plugin in your workflow. For example, If your test is running in a Docker container, you have to install this plugin and manually set GITHUB ACTIONS environment variable to true inside of Docker container. (For example, docker-compose run --rm -e GITHUB ACTIONS=true app -- pytest ) If your tests are run from a subdirectory of the git repository, you have to set the PYTEST RUN PATH environment variable to the path of that directory relative to the repository root in order for GitHub to identify the files with errors correctly. Warning annotations This plugin also supports warning annotations when used with Pytest 6.0+. To disable warning annotations, pass --exclude-warning-annotations to pytest. Screenshot","default_branch":null,"files":null,"tree":[],"storefront":"/r/pytest-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pytest-dev/pytest-github-actions-annotate-failures/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}