During CI, invoke `ci.sh` the same way we'd recommend a developer to do so locally. Signed-off-by: Jeff Epler <jepler@unpythonic.net>
28 lines
532 B
YAML
28 lines
532 B
YAML
name: Build docs
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- docs/**
|
|
- py/**
|
|
- tests/cpydiff/**
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-python@v6
|
|
- name: Install Python packages
|
|
run: pip install -r docs/requirements.txt
|
|
- name: Build unix port
|
|
run: tools/ci.sh unix_build_helper
|
|
- name: Build docs
|
|
run: make -C docs/ html
|