Skip to content

Commit

Permalink
Run docs CI job separately
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Nov 6, 2023
1 parent de5db83 commit 8266dc8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,23 @@ jobs:
- name: "Run tox"
run: |
tox -e linting
docs:
name: "Docs"
runs-on: "ubuntu-22.04"
steps:
- name: "Check out repository"
uses: "actions/checkout@v3"
- name: "Set up Python"
uses: "actions/setup-python@v4"
with:
python-version: "3.12"
cache-dependency-path: |
requirements.txt
requirements-dev.txt
- name: "Install tox"
run: |
python -m pip install --upgrade pip
pip install tox
- name: "Run tox"
run: |
tox -e docs
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ legacy_tox_ini = """
[gh-actions]
python =
3.8: py38
3.9: py39 docs
3.9: py39
3.10: py310
3.11: py311
3.12: py312
Expand Down

0 comments on commit 8266dc8

Please sign in to comment.