Add github actions workflow to run sphinx-build for checking #1
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install Requirements | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Sphinx build - html | |
run: | | |
make html | |
- name: Sphinx build - pdf | |
run: | | |
apt install -y latexmk texlive-latex-extra | |
make latexpdf | |
- name: Sphinx build - epub | |
run: | | |
make epub |