Merge pull request #32 from tacaswell/harden_gha #73
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: Documentation | |
| permissions: | |
| contents: read | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.8] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install | |
| shell: bash -l {0} | |
| run: source continuous_integration/scripts/install.sh | |
| - name: Install documentation-building requirements | |
| shell: bash -l {0} | |
| run: | | |
| set -vxeuo pipefail | |
| python -m pip install -r requirements-dev.txt | |
| python -m pip list | |
| - name: Build Docs | |
| shell: bash -l {0} | |
| run: make -C docs/ html |