Skip to content

Commit

Permalink
Only install docs requirements when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Sep 19, 2024
1 parent bb3d0a2 commit 2a5a0f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- run: pip install virtualenv
- run: pip install wheel
- name: pip install
run: pip install -r requirements-${{ matrix.plone-version }}.txt -r requirements-docs.txt
run: pip install -r requirements-${{ matrix.plone-version }}.txt

# buildout
- name: buildout
Expand All @@ -60,7 +60,7 @@ jobs:

# build sphinx
- name: sphinx
run: if [ "${{ matrix.plone-version }}" == "6.0" ] && [ ${{ matrix.python-version }} == '3.12' ]; then make docs-html; fi
run: if [ "${{ matrix.plone-version }}" == "6.0" ] && [ ${{ matrix.python-version }} == '3.12' ]; then pip install -r requirements-docs.txt && make docs-html; fi

# test
- name: test
Expand Down

0 comments on commit 2a5a0f5

Please sign in to comment.