Merge pull request #211 from CovertLab/reaction-patch #686
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: Test Documentation | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
sudo apt-get install pandoc | |
python -m pip install --upgrade pip wheel | |
pip install numpy Cython | |
pip install -r requirements.txt | |
python setup.py install | |
pip install -r doc/requirements.txt | |
- name: Compile Cython components | |
run: | | |
make clean compile | |
- name: Build documentation | |
run: | | |
cd doc | |
make html |