From ed097f40e4b9fba8de531d3238c65934c81730bc Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Thu, 29 Apr 2021 16:25:16 +0200 Subject: [PATCH] CI: add Github action for building HTML on macOS --- .github/workflows/html-macos.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/html-macos.yml diff --git a/.github/workflows/html-macos.yml b/.github/workflows/html-macos.yml new file mode 100644 index 00000000..9532f8fb --- /dev/null +++ b/.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@v2 + with: + python-version: 3 + - 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/