| name: test-docs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| schedule: | |
| - cron: "0 4 * * *" | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup conda dependencies | |
| uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| auto-update-conda: true | |
| python-version: 3.6 | |
| - name: Install dependencies | |
| shell: bash -l {0} | |
| run: | | |
| pip install -r docs/requirements.txt | |
| pip install .[all] | |
| - name: Build Documentation | |
| shell: bash -l {0} | |
| run: make build-docs | |