Skip to content

Commit

Permalink
CI: add Github action for building HTML on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Jan 16, 2022
1 parent 331a2ac commit 26d1b87
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/html-macos.yml
@@ -0,0 +1,29 @@
name: Build HTML on macOS
on: [push, pull_request]
jobs:
html-macos:
runs-on: macos-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install pandoc
run: |
brew install pandoc
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Double-check Python version
run: |
python --version
- name: Install Python package
run: |
python -m pip install .
- name: Install docs dependencies
run: |
python -m pip install -r doc/requirements.txt
- name: Build HTML
run: |
python -m sphinx -W --keep-going --color doc/ _build/html/

0 comments on commit 26d1b87

Please sign in to comment.