Robustify post process #106
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: BiRD-build-documentation | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'docs/**' | |
| - '.github/workflows/build_docs.yml' | |
| jobs: | |
| build_docs: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| working-directory: ${{github.workspace}} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| cache: 'pip' | |
| - name: Set up Miniconda | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| activate-environment: test-env | |
| python-version: ${{matrix.python-version}} | |
| channels: conda-forge | |
| channel-priority: strict | |
| - name: Install dependencies | |
| run: | | |
| conda install -y -c conda-forge paraview | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| pip install sphinx sphinx_rtd_theme sphinx-autodoc-typehints | |
| - name: Build documentation | |
| run: | | |
| cd docs | |
| make html | |