{"repo":"ymyzk/tox-gh-actions","free":true,"listed":false,"github":"https://github.com/ymyzk/tox-gh-actions","clone":"git clone https://github.com/ymyzk/tox-gh-actions.git","description":"Seamless integration of tox into GitHub Actions for tox 3 and 4","language":"Python","stars":256,"topics":["tox","actions","python","testing","tox-plugin","github-actions","hacktoberfest"],"license":"MIT","category":"dev-tools","readme_excerpt":"tox-gh-actions tox-gh-actions is a tox plugin which helps running tox on GitHub Actions with multiple different Python versions on multiple workers in parallel. This project is inspired by tox-travis. - Features - Usage - Examples - Basic Example - tox-gh-actions Configuration - Workflow Configuration - Advanced Examples - Factor-Conditional Settings: Python Version - Factor-Conditional Settings: Environment Variable - tox requires - Overriding Environments to Run - Versioning - Versions and Compatibility - Understanding Behavior of tox-gh-actions - How tox-gh-actions Works - Logging Features When running tox on GitHub Actions, tox-gh-actions detects which environment to run based on configurations and provides utilities such as grouping log lines. Usage 1. Add configurations under [gh-actions] section along with tox's configuration. - It will be pyproject.toml , tox.ini , or setup.cfg . See tox's documentation for more details. 2. Install tox-gh-actions package in the GitHub Actions workflow before running tox command. Examples Basic Example The following configuration will create 3 jobs when running the workflow on GitHub Actions. - On Python 3.10 job, tox runs py310 environment - On Python 3.12 job, tox runs py312 environment - On Python 3.14 job, tox runs py314 and mypy environments tox-gh-actions Configuration Add [gh-actions] section to the same file as tox's configuration. If you're using tox.ini : If you're using setup.cfg : If you're using pyproject.toml : Workflow C","default_branch":null,"files":null,"tree":[],"storefront":"/r/ymyzk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ymyzk/tox-gh-actions/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."}