{"id":15018306,"url":"https://github.com/pytest-dev/pytest-github-actions-annotate-failures","last_synced_at":"2025-05-15T03:06:49.216Z","repository":{"id":41450844,"uuid":"262356926","full_name":"pytest-dev/pytest-github-actions-annotate-failures","owner":"pytest-dev","description":"Pytest plugin to annotate failed tests with a workflow command for GitHub Actions","archived":false,"fork":false,"pushed_at":"2025-04-28T03:51:18.000Z","size":145,"stargazers_count":158,"open_issues_count":7,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-10T00:03:15.242Z","etag":null,"topics":["github-actions","pytest","python","testing","workflow"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pytest-github-actions-annotate-failures/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pytest-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-08T15:16:53.000Z","updated_at":"2025-05-01T11:43:49.000Z","dependencies_parsed_at":"2023-07-14T03:08:49.842Z","dependency_job_id":"d53b67d5-6484-45d5-9311-f06fe06181da","html_url":"https://github.com/pytest-dev/pytest-github-actions-annotate-failures","commit_stats":{"total_commits":133,"total_committers":11,"mean_commits":"12.090909090909092","dds":0.3007518796992481,"last_synced_commit":"ba478fcb701d003cc76dbcfc3f0ccb4b39df3135"},"previous_names":["utgwkk/pytest-github-actions-annotate-failures"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-github-actions-annotate-failures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-github-actions-annotate-failures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-github-actions-annotate-failures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-github-actions-annotate-failures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pytest-dev","download_url":"https://codeload.github.com/pytest-dev/pytest-github-actions-annotate-failures/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264766,"owners_count":22041793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","pytest","python","testing","workflow"],"created_at":"2024-09-24T19:51:48.653Z","updated_at":"2025-05-15T03:06:44.190Z","avatar_url":"https://github.com/pytest-dev.png","language":"Python","readme":"# pytest-github-actions-annotate-failures\n[Pytest](https://pypi.org/project/pytest/) plugin to annotate failed tests with a [workflow command for GitHub Actions](https://help.github.com/en/actions/reference/workflow-commands-for-github-actions)\n\n## Usage\nJust install and run pytest with this plugin in your workflow. For example,\n\n```yaml\nname: test\n\non:\n  push:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n\n    - name: Install plugin\n      run: pip install pytest-github-actions-annotate-failures\n\n    - run: pytest\n```\n\nIf 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`)\n\nIf 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.\n\n### Warning annotations\n\nThis plugin also supports warning annotations when used with Pytest 6.0+. To disable warning annotations, pass `--exclude-warning-annotations` to pytest.\n\n## Screenshot\n[![Image from Gyazo](https://i.gyazo.com/b578304465dd1b755ceb0e04692a57d9.png)](https://gyazo.com/b578304465dd1b755ceb0e04692a57d9)\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-dev%2Fpytest-github-actions-annotate-failures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytest-dev%2Fpytest-github-actions-annotate-failures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-dev%2Fpytest-github-actions-annotate-failures/lists"}