Skip to content

Doc pytest asyncio issue (#36) #14

Doc pytest asyncio issue (#36)

Doc pytest asyncio issue (#36) #14

Workflow file for this run

---
name: docs
on:
push:
branches: [main]
env:
latest-python-version: 3.13
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: UV cache
uses: actions/cache@v4
with:
path: ~/.cache/uv
key: ${{ runner.os }}-${{ env.latest-python-version }}-uv-${{ hashFiles('pyproject.toml') }}
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install Python
run: uv python install ${{ matrix.python-version }}
- name: Build docs
run: uv run project.py docs build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/site
publish:
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action