Uv experimental #903
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: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install uv and python | |
uses: astral-sh/setup-uv@v5 | |
with: | |
version: "0.6.2" | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
python-version: "3.10" | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- name: Build Documentation | |
run: | | |
uv run poe docs | |
# - name: Link Checker | |
# run: | | |
# uv run poe docs_linkcheck | |
- name: Upload Documentation as Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: documentation | |
path: docs/_build/html/ |