fix readthedocs build.os missing variable #121
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: Doc build | |
on: | |
push: | |
paths: | |
- 'scFates/**' | |
- 'docs/**' | |
jobs: | |
doc_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Prepare dependencies | |
run: | | |
sudo apt update && sudo apt install -y pandoc | |
pip install -r docs/requirements.txt | |
pip install mock pandoc | |
pip install --no-deps . | |
- name: Build documentation | |
run: | | |
sphinx-build docs/ docs/out/ |