Merge branch 'fix/more-github-fixes' into 'main' #182
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: Build Docs | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push and pull request events but only for the main branch | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main, refactoring] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| jobs: | |
| build_docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.9" | |
| - name: Install full package | |
| run: | | |
| pip install --upgrade pip wheel poetry==2.1.3 poetry-dynamic-versioning | |
| poetry cache clear pypi --all | |
| ./poetry_wrapper.sh --experimental sync -E torch -E spark | |
| - name: Build docs | |
| run: | | |
| ./poetry_wrapper.sh -- --generate | |
| eval $(poetry env activate) | |
| make -C docs clean html |