From 807e619dd8f0c5b3a1b57577d31cf87170d8b40d Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Tue, 22 Oct 2024 21:16:53 -0400 Subject: [PATCH] Revert doc.yml to where it was --- .github/workflows/doc.yml | 22 +++++++++++++++------- noxfile.py | 2 +- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index e6ecf820..5349f6b2 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -8,16 +8,24 @@ permissions: contents: read jobs: - build_docs: - runs-on: ubuntu-latest + doc: + strategy: + matrix: + os: [ ubuntu-latest ] + python-version: [ "3.12" ] + fail-fast: false + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 # https://github.com/actions/checkout - - uses: actions/setup-python@v5 with: - python-version: 3.13 - allow-prereleases: true # Only a single commit is fetched by default, for the ref/SHA that triggered the workflow. # Set fetch-depth: 0 to fetch all history for all branches and tags. fetch-depth: 0 # Needed for setuptools_scm to work correctly - - run: pip install --upgrade pip setuptools setuptools-scm nox - - run: python -m nox --non-interactive --session docs + - name: Set up Python + uses: actions/setup-python@v5 # https://github.com/actions/setup-python + with: + python-version: ${{ matrix.python-version }} + - name: Install python prerequisites + run: pip install -U --user pip setuptools setuptools-scm nox + - name: Sphinx documentation build + run: python -m nox --non-interactive --session docs diff --git a/noxfile.py b/noxfile.py index 11ecdcab..30013e1d 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,7 +1,7 @@ import nox -@nox.session(python=['3.13']) +@nox.session(python=['3.12']) def docs(session): session.install( 'sphinx',