File tree 1 file changed +16
-9
lines changed
1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -2,40 +2,47 @@ version: 2
2
2
jobs :
3
3
build_docs :
4
4
docker :
5
- - image : circleci /python:3.7-stretch
5
+ - image : " cimg /python:3.10 "
6
6
steps :
7
7
- checkout
8
8
- run :
9
- name : Set BASH_ENV
10
- command : |
11
- echo "set -e" >> $BASH_ENV;
12
- echo "export PATH=~/.local/bin:$PATH" >> $BASH_ENV;
13
- sudo apt update
14
- sudo apt install dvipng texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-generic-extra latexmk texlive-xetex
9
+ name : Update apt-get
10
+ command : sudo apt-get update
11
+ - run :
12
+ name : Install TeX
13
+ command : sudo apt install dvipng texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra latexmk texlive-xetex
15
14
- restore_cache :
16
15
keys :
17
16
- pip-cache
18
17
- run :
19
18
name : Get dependencies and install
20
19
command : |
20
+ python3 -m venv venv
21
+ source venv/bin/activate
21
22
python -m pip install --upgrade pip wheel setuptools
22
23
python -m pip install --upgrade -r requirements/doc.txt
23
- python -m pip install .
24
24
python -m pip list
25
25
- save_cache :
26
26
key : pip-cache
27
27
paths :
28
28
- ~/.cache/pip
29
29
- run :
30
- name : make html
30
+ name : Install
31
+ command : |
32
+ source venv/bin/activate
33
+ pip install -e .
34
+ - run :
35
+ name : Build docs
31
36
command : |
37
+ source venv/bin/activate
32
38
make -C doc html
33
39
- store_artifacts :
34
40
path : doc/_build/html/
35
41
destination : html
36
42
- run :
37
43
name : make tinybuild
38
44
command : |
45
+ source venv/bin/activate
39
46
make -C numpydoc/tests/tinybuild html
40
47
- store_artifacts :
41
48
path : numpydoc/tests/tinybuild/_build/html/
You can’t perform that action at this time.
0 commit comments