{ "info": { "author": "Yusuke Miyazaki", "author_email": "miyazaki.dev@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: tox", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "# tox-gh-actions\n[![PyPI version](https://badge.fury.io/py/tox-gh-actions.svg)](https://badge.fury.io/py/tox-gh-actions)\n\n**tox-gh-actions** is a tox plugin which helps running tox on GitHub Actions\nwith multiple different Python versions. This project is inspired by\n[tox-travis](https://github.com/tox-dev/tox-travis).\n\n## Usage\nThe following configuration will create 4 jobs when running the worlflow on GitHub Actions.\n- On Python 2.7 job, tox runs `py27` environment\n- On Python 3.5 job, tox runs `py34` environment\n- On Python 3.6 job, tox runs `py35` environment\n- On Python 3.7 job, tox runs `py37` and `mypy` environments\n\n`tox.ini`:\n```ini\n[tox]\nenvlist = py27, py35, py36, py37, mypy\n\n[gh-actions]\npython =\n 2.7: py27\n 3.5: py35\n 3.6: py36\n 3.7: py37, mypy\n\n[testenv]\n...\n```\n\n`.github/workflows/.yml`:\n```yaml\nname: Python package\n\non: [push]\n\njobs:\n build:\n runs-on: ubuntu-latest\n strategy:\n max-parallel: 4\n matrix:\n python-version: [2.7, 3.5, 3.6, 3.7]\n\n steps:\n - uses: actions/checkout@v1\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v1\n with:\n python-version: ${{ matrix.python-version }}\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n pip install tox tox-gh-actions\n - name: Test with tox\n run: tox\n```\n\n## Advanced Usage\nThe following configuration will create 2 jobs when running the worlflow on GitHub Actions.\n- On Python 2.7 job, tox runs `py27-django111` environment\n- On Python 3.7 job, tox runs `py37-django111` and `py37-django20` environments\n\n`tox.ini`:\n```ini\n[tox]\nenvlist = py27-django{111}, py37-django{111,20}\n\n[gh-actions]\npython =\n 2.7: py27\n 3.7: py37\n\n[testenv]\n...\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ymyzk/tox-gh-actions", "keywords": "virtual,environments,isolated,testing", "license": "MIT", "maintainer": "Yusuke Miyazaki", "maintainer_email": "miyazaki.dev@gmail.com", "name": "tox-gh-actions", "package_url": "https://pypi.org/project/tox-gh-actions/", "platform": "any", "project_url": "https://pypi.org/project/tox-gh-actions/", "project_urls": { "Homepage": "https://github.com/ymyzk/tox-gh-actions", "Source": "https://github.com/ymyzk/tox-gh-actions", "Tracker": "https://github.com/ymyzk/tox-gh-actions/issues" }, "release_url": "https://pypi.org/project/tox-gh-actions/0.2.0/", "requires_dist": [ "tox (>=3.12.2)", "pytest (<6,>=4.0.0) ; extra == 'testing'", "pytest-randomly (>=3) ; (python_version >= \"3.5\") and extra == 'testing'" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "Seamless integration of tox into GitHub Actions", "version": "0.2.0" }, "last_serial": 5841968, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "f916ea66a4ee553c59b3ac31b5afe1f4", "sha256": "dc7e439c4dd33504ab5f2e289a95ef011062d8481399e6929482d556a6540734" }, "downloads": -1, "filename": "tox_gh_actions-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f916ea66a4ee553c59b3ac31b5afe1f4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 4656, "upload_time": "2019-09-07T13:51:56", "url": "https://files.pythonhosted.org/packages/8e/11/4fd79956c35f14a9bc03f34b67145c584a3f98fbd3814bcfb1df30ba5f55/tox_gh_actions-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a3b1d73f88082eb66defa7ef41f8e3b", "sha256": "8994b71f376662082db9d5f35d39f118f533745494c5e9856a588f1c5fc9e4b1" }, "downloads": -1, "filename": "tox-gh-actions-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1a3b1d73f88082eb66defa7ef41f8e3b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 3991, "upload_time": "2019-09-07T13:51:58", "url": "https://files.pythonhosted.org/packages/69/08/6811a3847b069dcf40ad725d5d294b6b9df1d84bba64c3643eb68ce02ced/tox-gh-actions-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f865038a3718a6524a5803c9b4159ebc", "sha256": "2f289a973a6c291c18cc3158891b5e744f4071a71ab606d6e9996602e20f0cb6" }, "downloads": -1, "filename": "tox_gh_actions-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f865038a3718a6524a5803c9b4159ebc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 5102, "upload_time": "2019-09-17T14:18:56", "url": "https://files.pythonhosted.org/packages/55/74/2ceed0368d30789cf50797c7f720f741292d66f6219df4082f30f5191ab7/tox_gh_actions-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a8b0c3a25a238bfebbae597c177e752f", "sha256": "03b6aca036a05757c5428eb5503b18faf23234edec4eeeba2500ca3eeae15966" }, "downloads": -1, "filename": "tox-gh-actions-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a8b0c3a25a238bfebbae597c177e752f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 4919, "upload_time": "2019-09-17T14:18:57", "url": "https://files.pythonhosted.org/packages/e9/6e/ed53306b9187f30d2c7cd05a2dd3cf549afbc94aca2ad75c595f5eb17e4c/tox-gh-actions-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f865038a3718a6524a5803c9b4159ebc", "sha256": "2f289a973a6c291c18cc3158891b5e744f4071a71ab606d6e9996602e20f0cb6" }, "downloads": -1, "filename": "tox_gh_actions-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f865038a3718a6524a5803c9b4159ebc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 5102, "upload_time": "2019-09-17T14:18:56", "url": "https://files.pythonhosted.org/packages/55/74/2ceed0368d30789cf50797c7f720f741292d66f6219df4082f30f5191ab7/tox_gh_actions-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a8b0c3a25a238bfebbae597c177e752f", "sha256": "03b6aca036a05757c5428eb5503b18faf23234edec4eeeba2500ca3eeae15966" }, "downloads": -1, "filename": "tox-gh-actions-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a8b0c3a25a238bfebbae597c177e752f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 4919, "upload_time": "2019-09-17T14:18:57", "url": "https://files.pythonhosted.org/packages/e9/6e/ed53306b9187f30d2c7cd05a2dd3cf549afbc94aca2ad75c595f5eb17e4c/tox-gh-actions-0.2.0.tar.gz" } ] }