Skip to content

Commit 391c66f

Browse files
committed
Use xvfb-screen-size
1 parent e2175d7 commit 391c66f

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/build_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# the window manager is not necessary for docs builds at this time
6565
linux-setup: "echo 'skip setup'"
6666
linux-teardown: "echo 'skip teardown'"
67-
xvfb-server-args: "-screen 0 640x480x8"
67+
xvfb-screen-size: "1024x768x32"
6868

6969

7070
- name: Upload artifact

.github/workflows/deploy_docs.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,22 @@ jobs:
4646
- name: Install Dependencies
4747
run: |
4848
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+
5151
- name: Testing
5252
run: |
5353
python -c 'import napari; print(napari.__version__)'
5454
python -c 'import napari.layers; print(napari.layers.__doc__)'
5555
5656
- name: Build Docs
57-
uses: aganders3/headless-gui@configurable-xvfb
57+
uses: aganders3/headless-gui@v1
5858
env:
5959
GOOGLE_CALENDAR_ID: ${{ secrets.GOOGLE_CALENDAR_ID }}
6060
GOOGLE_CALENDAR_API_KEY: ${{ secrets.GOOGLE_CALENDAR_API_KEY }}
61-
PIP_CONSTRAINT: ${{ github.workspace }}/napari-repo/resources/constraints/constraints_py3.10_docs.txt
6261
with:
6362
# the napari-docs repo is cloned into a docs/ folder, hence the
6463
# invocation below. Locally, you should simply run make docs
6564
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"
7165

7266
- name: Deploy Docs
7367
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)