Doc build #161
Workflow file for this run
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: 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.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11 | |
| - name: Prepare dependencies | |
| run: | | |
| sudo apt update && sudo apt install -y pandoc | |
| pip install -r docs/requirements.txt | |
| pip install mock pandoc | |
| pip uninstall rpy2 -y | |
| pip install --no-deps . | |
| - name: Build documentation | |
| run: | | |
| sphinx-build docs/ docs/out/ |