$npx skillfedfor your agent

tox-gh

Seamless integration of tox into GitHub Actions.

Worth itPyPI LibrariesReleased Jul 2026113.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tox_gh-1.8.0-py3-none-any.whl
v1.8.0 · released 2026-07-21 · Python >=3.10 · 2 runtime deps: tox, typing-extensions

Yes. tox-gh solves a real coordination problem between tox and GitHub Actions with zero security issues, active maintenance, and permissive licensing. Install it if you use tox for local testing and want to run the same environments in GitHub Actions without manual synchronization. The low install friction and recent activity make it a straightforward addition to any tox-based project.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires tox 4 with a tox.toml, tox.ini, or pyproject.toml configuration file; only activates when running inside GitHub Actions (detected via GITHUB_ACTIONS environment variable).
  • Low install friction with a pure Python wheel distribution.
  • The package is actively maintained with a recent release and depends only on tox and typing-extensions, both standard tools in the Python testing ecosystem.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.

last release 2026-07-21 (24 days) · last repo commit 2026-08-10 · 69 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 113,266 downloads/mo, #12,349 on PyPI

Verify before relying

# Install
pip install tox tox-gh

# Add to tox.toml:
[gh.python]
"3.13" = ["py313"]
"3.12" = ["py312"]

# In GitHub Actions workflow, run:
tox
  • Whether tox-gh works with tox versions prior to 4.x, given the description mentions 'tox 4' as a prerequisite
  • Performance characteristics when running dozens of environments across a matrix
  • Compatibility with GitHub Actions runners other than ubuntu-latest
Same gist for agents: .md · .json

What it is and what it does

tox-gh is a plugin for tox that bridges the gap between tox's local environment management and GitHub Actions' matrix-based parallelism. It reads a configuration section mapping Python versions to tox environments, detects which Python version is running in the current GitHub Actions job, and automatically selects the corresponding environments to run—eliminating the need to manually coordinate between your Actions matrix and your tox configuration.

The plugin works by intercepting tox's environment selection logic when running inside GitHub Actions (detected via the GITHUB_ACTIONS environment variable). You define a mapping in your tox configuration (tox.toml, tox.ini, or pyproject.toml) that says "on Python 3.13, run these environments; on Python 3.12, run those," and tox-gh handles the rest. It supports freethreaded Python builds, multiple environments per version, and explicit overrides via environment variables or command-line flags.

Use it for

  • Run different test suites (unit tests, type checking, linting) on each Python version without duplicating workflow logic
  • Test against multiple Django or dependency versions in parallel by mapping factored environments to Python versions
  • Automatically test freethreaded Python builds (3.13t, 3.14t) alongside standard CPython in the same matrix
  • Reduce GitHub Actions job count by running multiple tox environments sequentially within a single job per Python version
  • Migrate existing tox-based projects to GitHub Actions without rewriting test configuration

Worth the install?

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

Worth it

Yes.

tox-gh solves a real coordination problem between tox and GitHub Actions with zero security issues, active maintenance, and permissive licensing. Install it if you use tox for local testing and want to run the same environments in GitHub Actions without manual synchronization. The low install friction and recent activity make it a straightforward addition to any tox-based project.

Install

tox-gh on PyPI

Before you install

Low install friction with a pure Python wheel distribution. The package is actively maintained with a recent release and depends only on tox and typing-extensions, both standard tools in the Python testing ecosystem.

Requires tox 4 with a tox.toml, tox.ini, or pyproject.toml configuration file; only activates when running inside GitHub Actions (detected via GITHUB_ACTIONS environment variable).

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.

Quickstart

# Install
pip install tox tox-gh

# Add to tox.toml:
[gh.python]
"3.13" = ["py313"]
"3.12" = ["py312"]

# In GitHub Actions workflow, run:
tox

Verify before relying

  • Whether tox-gh works with tox versions prior to 4.x, given the description mentions 'tox 4' as a prerequisite
  • Performance characteristics when running dozens of environments across a matrix
  • Compatibility with GitHub Actions runners other than ubuntu-latest

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
toxtyping-extensions
MaintenanceActively maintained 24 days since the last release
Last repo commit
First released
Downloads113,266 / month, #12,349 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: InternetTopic :: Software Development :: LibrariesTopic :: System

Evidence: tox_gh-1.8.0-py3-none-any.whl

Tags

Capabilities
tox github actions integrationparallel testing github actionspython version matrix testingtox environment selection automationci cd testing orchestrationgithub actions test runnermatrix job environment mapping
Topics
ci-cdgithub-actionstesting-automation
PyPI keywords
environmentsisolatedtestingvirtual

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 › “parallel testing github actions”

  • tox-ghtox-gh automatically selects and runs the appropriate tox…
  • tox-gh-actionsA tox plugin that automatically detects and runs the appropriate test…
  • pytest-split-testsA pytest plugin that splits your test suite into equal-sized groups…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / 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
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

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.

Apache-2.0pure Python
1.2Bdownloads / 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
pytest Worth it
PyPI · Libraries · released Jun 2026

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.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also tox-gh-actions · riot · tox-ansible · tox-uv · tox-uv-bare · mozilla-repo-urls · pytest-github-actions-annotate-failures · codemod-tox · IxNetwork · nox