safe yaml loader #242
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: Docs build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Handle dependencies here instead of conda_env.yaml | |
# because some packages are conda-forge only, | |
# which makes the env build much more slowly. | |
- name: Install dependencies | |
run: | | |
sudo apt install texlive-latex-extra dvipng | |
sudo pip3 install -U setuptools | |
sudo pip3 install -U -r docs/requirements.txt | |
- name: Build Docs | |
run: | | |
cd docs | |
make html |