@@ -39,15 +39,14 @@ jobs:
39
39
with :
40
40
python-version : " 3.10"
41
41
cache-dependency-path : |
42
- napari/setup.cfg
43
- docs/requirements.txt
42
+ napari/pyproject.toml
44
43
45
44
- uses : tlambert03/setup-qt-libs@v1
46
45
47
46
- name : Install napari Dependencies
48
47
run : |
49
48
python -m pip install --upgrade pip
50
- python -m pip install "napari/[all ]"
49
+ python -m pip install "napari/[pyqt5, docs ]"
51
50
env :
52
51
PIP_CONSTRAINT : ${{ github.workspace }}/napari/resources/constraints/constraints_py3.10_docs.txt
53
52
56
55
python -c 'import napari; print(napari.__version__)'
57
56
python -c 'import napari.layers; print(napari.layers.__doc__)'
58
57
59
- - name : Install napari-docs Dependencies
60
- run : |
61
- python -m pip install -qr ${{ github.workspace }}/napari-docs/requirements.txt
62
- env :
63
- PIP_CONSTRAINT : ${{ github.workspace }}/napari/resources/constraints/constraints_py3.10_docs.txt
64
-
65
58
# Build and install the theme package.
66
59
- name : Build and install theme
67
60
env :
78
71
GOOGLE_CALENDAR_API_KEY : ${{ secrets.GOOGLE_CALENDAR_API_KEY }}
79
72
PIP_CONSTRAINT : ${{ github.workspace }}/napari/resources/constraints/constraints_py3.10_docs.txt
80
73
with :
81
- # using html instead of docs will skip installing requirements
82
- run : make -C napari-docs html
74
+ # using html-noplot to skip the gallery for faster builds
75
+ run : make -C napari-docs html-noplot
83
76
# skipping setup stops the action from running the default (tiling) window manager
84
77
# the window manager is not necessary for docs builds at this time and it was causing
85
78
# problems with screenshots (https://github.com/napari/docs/issues/285)
0 commit comments