tox-gh-actions
Seamless integration of tox into GitHub Actions
Decision gist · record as of 2026-08-14
Yes. This is a lightweight, actively maintained plugin that solves a real friction point in GitHub Actions CI: mapping matrix jobs to tox environments. It has no security vulnerabilities, permissive licensing, low install friction, and a clear use case for anyone already using tox in a GitHub Actions workflow. Install it if you run tox on GitHub Actions with multiple Python versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires tox to be installed first; intended for use within GitHub Actions workflows, not local development.
- Low friction: a single pure-Python dependency on tox with no compiled requirements.
- Actively maintained as of 2026-04-13 with 256 repository stars and a stable release cadence.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal attribution requirements.
last release 2025-10-22 (296 days) · last repo commit 2026-04-13 · 256 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 631,075 downloads/mo, #5,660 on PyPI
Alternatives
Verify before relying
pip install tox tox-gh-actions
Add to tox.ini:
[gh-actions]
python =
3.10: py310
3.12: py312
Run: tox- Whether the plugin works with tox versions older than the current release or has a minimum tox version requirement.
- Performance impact of log grouping on large test suites or workflows with many parallel jobs.
What it is and what it does
tox-gh-actions is a tox plugin designed to streamline testing workflows on GitHub Actions by automatically mapping Python versions to the appropriate tox environments. When you run tox in a GitHub Actions job, the plugin reads a `[gh-actions]` configuration section from your tox.ini, setup.cfg, or pyproject.toml and selects which test environments to run based on the Python version (or other factors like environment variables) in that job. This eliminates the need to manually specify which environments to test on each Python version.
The plugin also provides utilities like GitHub Actions log grouping to organize test output. It supports multiple Python implementations including CPython, PyPy, and experimental Pyston support, and handles pre-release and free-threaded Python builds. The plugin respects explicit environment overrides via the `-e` flag or `TOXENV` variable, so you can still run specific environments when needed.
Use it for
- Test your package on multiple Python versions with each job automatically running only its corresponding tox environment.
- Run different test suites per Python version (e.g., py312 runs unit tests, py314 runs both unit and type-checking).
- Test across multiple platforms and Python versions simultaneously by using environment variables to select platform-specific tox factors.
- Reduce boilerplate in CI workflows by letting the plugin handle environment selection instead of hardcoding it in workflow YAML.
- Support PyPy and other Python implementations in your test matrix with automatic environment mapping.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a lightweight, actively maintained plugin that solves a real friction point in GitHub Actions CI: mapping matrix jobs to tox environments. It has no security vulnerabilities, permissive licensing, low install friction, and a clear use case for anyone already using tox in a GitHub Actions workflow. Install it if you run tox on GitHub Actions with multiple Python versions.
Install
tox-gh-actions on PyPI
Before you install
Low friction: a single pure-Python dependency on tox with no compiled requirements. Actively maintained as of 2026-04-13 with 256 repository stars and a stable release cadence.
Requires tox to be installed first; intended for use within GitHub Actions workflows, not local development.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal attribution requirements.
Quickstart
pip install tox tox-gh-actions
Add to tox.ini:
[gh-actions]
python =
3.10: py310
3.12: py312
Run: tox
Verify before relying
- Whether the plugin works with tox versions older than the current release or has a minimum tox version requirement.
- Performance impact of log grouping on large test suites or workflows with many parallel jobs.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetox |
| Maintenance | Actively maintained 296 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 631,075 / month, #5,660 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: toxIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming 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.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Software Development :: TestingTopic :: UtilitiesTyping :: Typed |
Evidence: tox_gh_actions-3.5.0-py3-none-any.whl
Tags
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 › “tox github actions integration”
- tox-gh-actionsA tox plugin that automatically detects and runs the appropriate test…
- tox-ghtox-gh automatically selects and runs the appropriate tox…
- actions-toolkitProvides a Python SDK for building GitHub Actions with utilities for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
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.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also tox-gh · lightning-utilities · tox-docker · github-action-utils · tox-uv · pytest-github-actions-annotate-failures · tox-uv-bare · codemod-tox · actionlint-py · tox