@@ -46,28 +46,22 @@ jobs:
46
46
- name : Install Dependencies
47
47
run : |
48
48
python -m pip install --upgrade pip
49
- python -m pip install "napari-repo/[pyside,dev ]" -c "napari-repo/resources/constraints/constraints_py3.10_docs.txt"
50
- python -m pip install -r docs/requirements.txt -c "napari-repo/resources/constraints/constraints_py3.10_docs.txt"
49
+ python -m pip install "napari-repo/[all ]" -c "napari-repo/resources/constraints/constraints_py3.10_docs.txt"
50
+
51
51
- name : Testing
52
52
run : |
53
53
python -c 'import napari; print(napari.__version__)'
54
54
python -c 'import napari.layers; print(napari.layers.__doc__)'
55
55
56
56
- name : Build Docs
57
- uses : aganders3/headless-gui@configurable-xvfb
57
+ uses : aganders3/headless-gui@v1
58
58
env :
59
59
GOOGLE_CALENDAR_ID : ${{ secrets.GOOGLE_CALENDAR_ID }}
60
60
GOOGLE_CALENDAR_API_KEY : ${{ secrets.GOOGLE_CALENDAR_API_KEY }}
61
- PIP_CONSTRAINT : ${{ github.workspace }}/napari-repo/resources/constraints/constraints_py3.10_docs.txt
62
61
with :
63
62
# the napari-docs repo is cloned into a docs/ folder, hence the
64
63
# invocation below. Locally, you should simply run make docs
65
64
run : make -C docs docs GALLERY_PATH=../examples/
66
- # setting these empty stops from running the default (tiling) window manager
67
- # the window manager is not necessary for docs builds at this time
68
- linux-setup : " echo 'skip setup'"
69
- linux-teardown : " echo 'skip teardown'"
70
- xvfb-server-args : " -screen 0 640x480x8"
71
65
72
66
- name : Deploy Docs
73
67
uses : peaceiris/actions-gh-pages@v3
0 commit comments