Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation CI task to build local packages #110

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: documentation

on:
push:
branches: [ "main"]
branches: [ "main" ]

permissions:
contents: write
Expand All @@ -17,6 +17,14 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5

- name: Install local packages to update versions
run: |
python -m pip install --upgrade pip
# Manually install CPU-only version of torch so we're not carrying around giant GPU drivers/kernels
python -m pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
python -m pip install -e "s3torchconnectorclient"
python -m pip install -e "s3torchconnector"

- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme sphinx-autoapi ghp-import
Expand Down
Loading