Read the Docs now requires a config file #219
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Build", | |
"on": { | |
"push": { | |
"branches": [ "main" ] | |
}, | |
"pull_request": null, | |
}, | |
"jobs": { | |
"linux": { | |
"name": "CI on x86_64", | |
"runs-on": "ubuntu-latest", | |
"strategy": { | |
"fail-fast": false, | |
"matrix": { | |
"name": [ | |
"python-37", | |
"python-38", | |
"python-39", | |
"python-310", | |
"doc", | |
"doctest", | |
"sphinx", | |
"lint", | |
"pep8", | |
"codespell", | |
], | |
"include": [ | |
{ | |
"name": "python-37", | |
"python": "3.7", | |
"toxenv": "py37", | |
"arch": "x64", | |
}, | |
{ | |
"name": "python-38", | |
"python": "3.8", | |
"toxenv": "py38", | |
"arch": "x64", | |
}, | |
{ | |
"name": "python-39", | |
"python": "3.9", | |
"toxenv": "py39", | |
"arch": "x64", | |
}, | |
{ | |
"name": "python-310", | |
"python": "3.10", | |
"toxenv": "py310", | |
"arch": "x64", | |
}, | |
{ | |
"name": "doc", | |
"python": "3.10", | |
"toxenv": "doc", | |
"arch": "x64", | |
}, | |
{ | |
"name": "doctest", | |
"python": "3.10", | |
"toxenv": "doctest", | |
"arch": "x64", | |
}, | |
{ | |
"name": "sphinx", | |
"python": "3.10", | |
"toxenv": "sphinx", | |
"arch": "x64", | |
}, | |
{ | |
"name": "lint", | |
"python": "3.10", | |
"toxenv": "lint", | |
"arch": "x64", | |
}, | |
{ | |
"name": "pep8", | |
"python": "3.10", | |
"toxenv": "pep8", | |
"arch": "x64", | |
}, | |
{ | |
"name": "codespell", | |
"python": "3.10", | |
"toxenv": "codespell", | |
"arch": "x64", | |
}, | |
], | |
}, | |
}, | |
"steps": [ | |
{ "uses": "actions/checkout@v3" }, | |
{ | |
"uses": "actions/setup-python@v4", | |
"with": { | |
"python-version": "${{ matrix.python }}", | |
"architecture": "${{ matrix.arch }}" | |
}, | |
}, | |
{ "run": "sudo apt-get update" }, | |
{ "run": "sudo apt-get install cargo" }, | |
{ "run": "pip --version" }, | |
{ "run": "pip install tox" }, | |
{ "run": "tox --version" }, | |
{ | |
"env": { | |
"TOXENV": "${{matrix.toxenv}}" | |
}, | |
"run": "tox", | |
}, | |
], | |
}, | |
}, | |
} |