diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6368ebf..fdaa55b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index 7e027ba..097b8b1 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -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