$npx skillfedfor your agent

pytest-github-actions-annotate-failures

pytest plugin to annotate failed tests with a workflow command for GitHub Actions

Worth itPyPI UtilitiesReleased Jun 20263.7M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_github_actions_annotate_failures-0.4.2-py3-none-any.whl
v0.4.2 · released 2026-06-19 · Python >=3.10 · 1 runtime deps: pytest

Yes. This plugin is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and solves a real workflow problem—making test failures visible in GitHub Actions without extra configuration. Install it if you run pytest in GitHub Actions and want failures to surface directly in the UI.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • When running tests in Docker, the GITHUB_ACTIONS environment variable must be manually set to true.
  • If tests run from a subdirectory, PYTEST_RUN_PATH must be set to the relative path for correct file identification.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it straightforward to integrate into any project.

last release 2026-06-19 (56 days) · last repo commit 2026-08-13 · 178 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,672,515 downloads/mo, #2,531 on PyPI

Verify before relying

pip install pytest-github-actions-annotate-failures
pytest

# In GitHub Actions workflow:
- run: pytest
  • Whether warning annotations (available with Pytest 6.0+) work correctly with all current pytest versions
  • Performance impact when handling large numbers of test failures in a single run
Same gist for agents: .md · .json

What it is and what it does

This is a pytest plugin designed to integrate test results directly into GitHub Actions workflows. When tests fail, it uses GitHub Actions workflow commands to create annotations that appear in the Actions UI, pull request checks, and job summaries, making failures immediately visible without requiring developers to dig through logs.

The plugin works by hooking into pytest's test execution and capturing failures, then emitting GitHub workflow annotation commands that the Actions runner interprets. It requires only pytest as a runtime dependency and has low install friction. It supports warning annotations when used with Pytest 6.0 or later, and can be disabled with a command-line flag if needed. For Docker-based test runs or tests in repository subdirectories, environment variables must be configured to ensure GitHub correctly maps reported failures to source files.

Use it for

  • Automatically surface test failures in GitHub Actions job summaries and PR checks without manual log parsing
  • Integrate pytest test results into GitHub's native CI/CD UI for faster failure identification
  • Annotate both test failures and warnings in GitHub Actions workflows with a single plugin install
  • Run tests in Docker containers within GitHub Actions while preserving failure annotations via environment variable configuration

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This plugin is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and solves a real workflow problem—making test failures visible in GitHub Actions without extra configuration. Install it if you run pytest in GitHub Actions and want failures to surface directly in the UI.

Install

pytest-github-actions-annotate-failures on PyPI

Before you install

Low install friction with a single runtime dependency on pytest. Actively maintained with a recent release; last commit on 2026-08-13 and marked as Production/Stable.

Requires Python 3.10 or later. When running tests in Docker, the GITHUB_ACTIONS environment variable must be manually set to true. If tests run from a subdirectory, PYTEST_RUN_PATH must be set to the relative path for correct file identification.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it straightforward to integrate into any project.

Quickstart

pip install pytest-github-actions-annotate-failures
pytest

# In GitHub Actions workflow:
- run: pytest

Verify before relying

  • Whether warning annotations (available with Pytest 6.0+) work correctly with all current pytest versions
  • Performance impact when handling large numbers of test failures in a single run

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pytest
MaintenanceActively maintained 56 days since the last release
Last repo commit
First released
Downloads3,672,515 / month, #2,531 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleFramework :: PytestIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: System :: Systems AdministrationTopic :: Utilities

Evidence: pytest_github_actions_annotate_failures-0.4.2-py3-none-any.whl

Tags

Capabilities
pytest github actions integrationgithub actions test failure annotationspytest workflow command pluginci/cd test reporting githubpytest github actions plugintest failure annotations cigithub actions pytest reporting
Topics
github-actionsci-cdtest-reporting
PyPI keywords
pluginpytesttesting

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pytest github actions integration”

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also pytest-progress · github-action-utils · lightning-utilities · pytest-retry · pytest-instafail · pytest-check · tox-gh-actions · actionlint-py · pytest-md-report · tox-gh