ci: Test geos integration of geosPythonPackages for every new PR #361
This file contains hidden or 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: "Pull Request Docs Check" | |
on: | |
pull_request | |
# Cancels in-progress workflows for a PR when updated | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
docs-build: | |
# Use the same OS as Read the Docs | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
# Use the same Python version as Read the Docs | |
python-version: "3.10" | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
# Use the same Node.js version as Read the Docs | |
node-version: "16" | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends plantuml texlive npm | |
- name: Install Node.js packages | |
run: | | |
npm install -g [email protected] | |
npm install -g @mermaid-js/[email protected] | |
- name: Install Python dependencies | |
run: pip install -r docs/requirements.txt | |
- name: Build documentation with Sphinx | |
run: sphinx-build -b html docs/ docs/_build -W |