File tree 2 files changed +8
-20
lines changed 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
sphinx :
10
- strategy :
11
- fail-fast : false
12
- matrix :
13
- python-version :
14
- - " 3.7"
15
- - " 3.8"
16
- - " 3.9"
17
- - " 3.10"
18
10
runs-on : ubuntu-latest
19
11
steps :
20
12
- uses : actions/checkout@v2
21
- - name : Setup python ${{ matrix.python-version }}
13
+ - name : Setup python 3.10
22
14
uses : actions/setup-python@v2
23
15
with :
24
- python-version : ${{ matrix.python-version }}
16
+ python-version : " 3.10 "
25
17
- name : Cache Python dependencies
26
18
uses : actions/cache@v2
27
19
with :
28
20
path : ~/.cache/pip
29
- key : ${{ runner.os }}-pip-${{ hashFiles(format( 'requirements/{0}. txt', matrix.python-version) ) }}
21
+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements/3.10. txt') }}
30
22
restore-keys : |
31
23
${{ runner.os }}-pip-
32
24
${{ runner.os }}-
33
25
- name : Install Python dependencies
34
26
run : |
35
27
python -m pip install --upgrade pip
36
28
pip install wheel
37
- pip install -r requirements/${{ matrix.python-version }} .txt
29
+ pip install -r requirements/3.10 .txt
38
30
- name : Build documentation
39
31
run : sphinx-build -nW . docs/_build
40
32
- name : Run doctests
Original file line number Diff line number Diff line change 1
1
# Read the Docs configuration file (see https://docs.readthedocs.io/en/stable/config-file/v2.html
2
2
# for details).
3
3
4
- # Required
5
4
version : 2
6
5
7
- sphinx :
8
- configuration : conf.py
9
- formats : all
10
- python :
11
- version : " 3.7"
12
- install :
13
- - requirements : requirements/3.7.txt
6
+ build :
7
+ os : ubuntu-22.04
8
+ tools :
9
+ python : " 3.10"
You can’t perform that action at this time.
0 commit comments