Fix uv conflict with pyenv on Sherlock #883
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: Test Documentation | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
version: "0.5.7" | |
- name: Install Pandoc | |
run: sudo apt-get install pandoc | |
- name: Install model | |
run: USE_CYTHON=1 uv sync --frozen --extra docs | |
- name: Build documentation | |
run: | | |
cd doc | |
uv run make html |