split setuptools/wheel and requirements installation #1428
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
pull_request: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
DJANGO_CA_SECRET_KEY: dummy | |
steps: | |
- name: Acquire sources | |
uses: actions/[email protected] | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
# Python 3.13 currently fails | |
python-version: "3.12" | |
architecture: x64 | |
- name: Apply caching of dependencies | |
uses: actions/[email protected] | |
with: | |
path: ~/.cache/pip | |
key: pip-${{ hashFiles('**/requirements-*.txt') }} | |
- name: Install dependencies | |
run: | | |
pip install -U pip setuptools wheel | |
pip install -r requirements.txt | |
pip install -r requirements/requirements-docs.txt | |
- name: doc8 style checks | |
run: doc8 docs/source/ | |
- name: Generate documentation | |
run: make -C docs html | |
- name: Spelling | |
run: make -C docs spelling |