feat: add ocl streams #620
Workflow file for this run
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: "Build Documentation" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
documentation: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: 'pip' # caching pip dependencies | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install -y pandoc | |
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu | |
python -m pip install ".[dev,doc]" | |
- name: Documentation Coverage Report | |
run: invoke docs.coverage | |
- name: Build Documentation | |
run: invoke docs.build | |
- name: Upload Documentation | |
uses: actions/upload-artifact@v4 | |
# Only upload the documentation if the push event is triggered by something | |
# being pushed to the main branch | |
if: github.event.action == 'push' | |
with: | |
name: docs | |
path: docs/_build |