Skip to content

Commit d7a8bc9

Browse files
authored
Merge pull request #139 from nikosavola/simplify-docs-ci
Simplify docs setup in CI
2 parents c0e625f + 91c0f66 commit d7a8bc9

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,10 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- name: Install uv
1616
uses: astral-sh/setup-uv@v6
17-
- name: Set up Python 3.12
18-
run: uv python install 3.12
19-
- name: Install venv
20-
run: uv venv
2117
- name: Install dependencies
22-
run: |
23-
source .venv/bin/activate
24-
sudo apt-get install libglu1-mesa
25-
uv pip install -e ".[dev]"
18+
run: sudo apt-get install libglu1-mesa
2619
- name: make docs
27-
run: |
28-
source .venv/bin/activate
29-
jupyter-book build docs/ --all
20+
run: uv run --extra dev jupyter-book build docs/ --all
3021
- name: Upload artifact
3122
uses: actions/upload-pages-artifact@v3
3223
with:

0 commit comments

Comments
 (0)