Fix docs CI: use venv for uv to fix 'failed to create directory' (#4460)

Use venv for uv to fix 'failed to create directory'
This commit is contained in:
Hugo van Kemenade 2024-09-16 10:10:34 +03:00 committed by GitHub
parent 8fb2add1f7
commit bbfdba3a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,8 +32,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install uv
python -m uv pip install --system -e ".[d]"
python -m uv pip install --system -r "docs/requirements.txt"
python -m uv venv
python -m uv pip install -e ".[d]"
python -m uv pip install -r "docs/requirements.txt"
- name: Build documentation
run: sphinx-build -a -b html -W --keep-going docs/ docs/_build