Skip to content

Commit

Permalink
Update build_and_deploy.yml to use napari docs dependency group (#591)
Browse files Browse the repository at this point in the history
# References and relevant issues
Part of: #589
Depends on: napari/napari#7637

# Description
Installs napari with `[docs]` and then doesn't run the `docs-install`
step of the Makefile.
  • Loading branch information
psobolewskiPhD authored Feb 26, 2025
1 parent 25d49ad commit 70a9965
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,13 @@ jobs:
python-version: "3.10"
cache-dependency-path: |
napari/pyproject.toml
docs/requirements.txt
- uses: tlambert03/setup-qt-libs@v1

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "napari/[all]"
python -m pip install "napari/[pyqt5, docs]"
env:
PIP_CONSTRAINT: ${{ github.workspace }}/napari/resources/constraints/constraints_py3.10_docs.txt

Expand All @@ -83,7 +82,7 @@ jobs:
with:
# Runs in '/home/runner/work/docs/docs/docs'
# Built HTML pages in '/home/runner/work/docs/docs/docs/docs/_build/html'
run: make -C docs docs
run: make -C docs html
# skipping setup stops the action from running the default (tiling) window manager
# the window manager is not necessary for docs builds at this time and it was causing
# problems with screenshots (https://github.com/napari/docs/issues/285)
Expand Down

0 comments on commit 70a9965

Please sign in to comment.