File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,24 @@ permissions:
8
8
contents : read
9
9
10
10
jobs :
11
- build_docs :
12
- runs-on : ubuntu-latest
11
+ doc :
12
+ strategy :
13
+ matrix :
14
+ os : [ ubuntu-latest ]
15
+ python-version : [ "3.12" ]
16
+ fail-fast : false
17
+ runs-on : ${{ matrix.os }}
13
18
steps :
14
19
- uses : actions/checkout@v4 # https://github.com/actions/checkout
15
- - uses : actions/setup-python@v5
16
20
with :
17
- python-version : 3.13
18
- allow-prereleases : true
19
21
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
20
22
# Set fetch-depth: 0 to fetch all history for all branches and tags.
21
23
fetch-depth : 0 # Needed for setuptools_scm to work correctly
22
- - run : pip install --upgrade pip setuptools setuptools-scm nox
23
- - run : python -m nox --non-interactive --session docs
24
+ - name : Set up Python
25
+ uses : actions/setup-python@v5 # https://github.com/actions/setup-python
26
+ with :
27
+ python-version : ${{ matrix.python-version }}
28
+ - name : Install python prerequisites
29
+ run : pip install -U --user pip setuptools setuptools-scm nox
30
+ - name : Sphinx documentation build
31
+ run : python -m nox --non-interactive --session docs
Original file line number Diff line number Diff line change 1
1
import nox
2
2
3
3
4
- @nox .session (python = ['3.13 ' ])
4
+ @nox .session (python = ['3.12 ' ])
5
5
def docs (session ):
6
6
session .install (
7
7
'sphinx' ,
You can’t perform that action at this time.
0 commit comments