Skip to content

Commit

Permalink
Update docs build action. Include 3.11. (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: David Maxson <[email protected]>
  • Loading branch information
scnerd and scnerd authored Nov 7, 2023
1 parent 5f4fb48 commit 65e0976
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@ on:
- push

jobs:
docs_build:
docs:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip' # caching pip dependencies
- run: pip install -r docs/requirements.txt
- run: cd docs && make html

- uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: docs/_build/html/
- uses: actions/upload-artifact@v3
with:
name: DocumentationHTML
path: docs/build/html/
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/test_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 65e0976

Please sign in to comment.