Ignore codespell false positive #435
Workflow file for this run
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 website generation | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- "tests/**" | |
- "examples/**" | |
- "**.json" | |
- "**.csv" | |
- "**.html" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test-website: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- uses: hynek/setup-cached-uv@v2 | |
- run: uv pip install -e .[docs] --system | |
- run: uv pip freeze | |
- name: Regenerate examples and docs | |
run: python scripts/regenerate.py --download-typeshed | |
- name: Check the generated files with pre-commit | |
uses: pre-commit/action@v3.0.1 | |
- name: Build docs | |
run: mkdocs build --strict | |
- name: Upload docs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: doc-html | |
path: site |